Skip to main content
Public

Share visualization

Loading preview…

Cars 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 Plot

1
PPerry
Last edited Mar 6, 2020
Created on Mar 5, 2020
Forked from Scatter Plot

This scatterplot visualizes the relationship between car weight and horsepower, with each circle representing a car from the auto-mpg dataset loaded via `d3.csv`. The visualization uses `d3.scaleLinear` for both axes, `d3.extent` to compute domains, and `d3.axisBottom` and `d3.axisLeft` to render the gridlines and tick labels with the SVG rendering approach. Purple semi-transparent circles are positioned using `scaleLinear` mappings, while axis labels and a title are added as SVG text elements.

AI-generated description

Scatterplot data about cars.

Comments

Sign in to join the discussion.

MIT Licensed