Skip to main content
100%

Fork of Final Project Violin Plot

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

This example shows a violin plot of salary distributions across four experience levels (Entry-level, Mid-level, Senior, Executive) for data science roles, with mean salary annotations overlaid on each distribution. The visualization uses D3 v6 with an SVG renderer, employing `d3.rollups` to aggregate salary data, a kernel density estimator with an Epanechnikov kernel, and `d3.area` with Catmull-Rom curves to draw the symmetric violins. Data is loaded from a CSV hosted on GitHub, with interactive hover states that highlight each violin in orange.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes