Skip to main content
Public

Share visualization

Loading preview…

Box Plot - Highest MPG

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Box Plot - Highest MPG

1
Ddriftcafe
Last edited Apr 11, 2022
Created on Apr 4, 2022
Forked from Boxplot

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 description

Comments

Sign in to join the discussion.

MIT Licensed