Box Plot - Highest MPG
✓ Published1🌍 Public
This example shows the distribution of fuel efficiency (mpg) for the five auto makes with the highest average miles per gallon: Hyundai, Honda, Kia, Scion, and MINI. Each make’s box plot displays the median, quartiles, and interquartile range, while individual vehicle models appear as jittered green circles overlaid on the boxes. The visualization uses d3.nest() and d3.quantile() to compute summary statistics from the CSV data, and d3.scaleBand() and d3.scaleLinear() to position the boxes and axes in an SVG rendered with d3.v4.
AI-generated descriptionMIT Licensed