Skip to main content
Public

Share visualization

Loading preview…

Car Dataset

vizhub.com

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

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

Car Dataset

0 stars0Public
SShalom
Last edited Oct 1, 2026
Created on Oct 1, 2026
Forked from HTML Starter

This interactive scatterplot displays the relationships between engine size, fuel efficiency (MPG), and horsepower for a dataset of car models. The visualization uses D3 v7 to load data from a GitHub Gist, and employs linear scales to map quantitative columns to x and y positions. A summary panel displays key statistics, including row count, column names, and the mean and median MPG values, computed with `d3.mean` and `d3.median`. The chart is rendered as an SVG, with axes generated using `d3.axisBottom` and `d3.axisLeft`, and includes styling for the page and chart elements.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed