Skip to main content
Public

Share visualization

Loading preview…

Cars Scatter Plot

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

Cars Scatter Plot

1
SShuyu Zheng
Last edited Jan 12, 2021
Created on Jan 12, 2021
Forked from Scatter plot

This scatter plot from the UCI Auto MPG dataset visualizes the relationship between fuel efficiency (MPG) and horsepower for various car models, with each semi-transparent steel-blue circle representing a car. The chart uses D3 v6 scales and axes to map the data, featuring rotated axis labels and a title. The rendering relies on SVG, with the `scaleLinear` function establishing coordinate ranges and `axisBottom`/`axisLeft` drawing ticks, while the CSV data is loaded asynchronously and parsed numerically before plotting.

AI-generated description

This bar chart shows data about cars, from UCI Machine Learning Repository: Auto MPG Data Set.

Comments

Sign in to join the discussion.

MIT Licensed