Skip to main content
100%

Fork of Final Project Violin Plot

✓ Published0🌍 Public
DDuc Pham
Last edited May 6, 2024
Created on May 6, 2024

This visualization shows how salary distributions vary across four experience levels—Entry-level, Mid-level, Senior, and Executive—in a dataset of employee salaries. It uses kernel density estimation to create a smooth violin plot for each group, displaying the full range of salary values on the y-axis using a linear scale. The chart is rendered as an SVG using D3 v4, with axes and a title added directly to the SVG canvas. Data is loaded from an external CSV file and processed with d3.nest and d3.area to generate the symmetric density shapes.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes