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

2
JJuyeonee
Last edited Aug 9, 2021
Created on Aug 9, 2021
Forked from Customizing axes

This scatter plot visualizes the relationship between horsepower and weight for cars from the auto-mpg dataset, with each red circle representing a vehicle. The visualization uses d3.csv to load the data, d3.scaleLinear for both axes, and d3.axisBottom and d3.axisLeft to render the tick marks and labels. The SVG rendering includes axis labels, a title, and grid lines created by extending ticks across the plot area, with data points displayed at 10-pixel radius and 30% opacity.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed