Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Final Project Violin Plot

Public visualization

Fork of Final Project Violin Plot

0 stars0🌍 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.

Comments

Sign in to join the discussion.

MIT Licensed