🌍 Public
Viewing a saved revision (read-only)
02b6bdc34f81420cb4ce319c7c8229e5
Box Plot Jitter
This example combines a box plot with jittered individual data points to show the distribution of fuel efficiency (mpg) for a 2012 Volvo XC90. The box plot displays quartiles, median, and whiskers, while red circles reveal each data point’s exact value, with mouseover tooltips showing the mpg. Using D3.js v4, it computes summary statistics via `d3.nest` and `d3.quantile`, then renders the SVG with scales, rectangles, lines, and circles. The data comes from the included `boxplot.csv` file.
AI-generated description