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 reported salary distributions vary across four experience levels, using a violin plot to display the density of earnings for entry-level, mid-level, senior, and executive roles. The chart encodes salary on the vertical axis and experience category on the horizontal axis, with each violin’s width representing the estimated probability density of salaries within that group. The code builds the plot using D3.js v7, computing kernel density estimates via `kernelDensityEstimator` and the Epanechnikov kernel, and renders the shapes as SVG paths smoothed with `d3.curveCatmullRom`. Data is loaded from a remote CSV file containing survey responses.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes