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

0
Ssrrajendran
Last edited Nov 7, 2018
Created on Oct 1, 2018
Forked from Cars Scatter Plot

This scatter plot from the UCI Machine Learning Repository's Auto MPG data set visualizes the relationship between horsepower and weight for various car models. The visualization uses D3 v5 to render red, semi-transparent circles as data points on an SVG canvas, with labeled axes for both dimensions. The code employs D3's `scaleLinear` for axis scaling, `axisLeft` and `axisBottom` for tick generation, and the `csv` function to load the remote dataset, which is then parsed into numeric values for plotting.

AI-generated description

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

Comments

Sign in to join the discussion.

MIT Licensed