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
YYifei Liu
Last edited Aug 29, 2020
Created on Aug 27, 2020
Forked from Scatter Plot

This scatter plot visualizes the relationship between horsepower and weight for cars from the UCI Machine Learning Repository. Each red semi-transparent circle represents a vehicle, with the x-axis showing horsepower and the y-axis showing weight, revealing a positive correlation between the two variables. The visualization uses d3.csv to load the auto-mpg dataset, then applies d3.scaleLinear with d3.extent for both axes, rendering the chart as SVG circles with d3.axisLeft, d3.axisBottom, and gridlines generated from tick sizes.

AI-generated description

This scatter plot show data about cars from UCI Machine Learning Repository

Comments

Sign in to join the discussion.

MIT Licensed