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
KKaleb LaBarrie
Last edited Sep 19, 2021
Created on Sep 17, 2021
Forked from Scatter Plot

This scatter plot visualizes the relationship between horsepower and weight for cars in the auto-mpg dataset, with each circle representing a car. It uses d3.scaleLinear to map data values to screen coordinates and d3.axisBottom and d3.axisLeft to render labeled axes with gridlines. The SVG rendering applies a semi-transparent red fill to circles, while a title and axis labels are added as text elements. Data is loaded from a CSV file and parsed into numeric values before plotting.

AI-generated description

This scatter plot shows data about cars.

Comments

Sign in to join the discussion.

MIT Licensed