Skip to main content
Public

Share visualization

Loading preview…

Cars Scatter Plot.js

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.js

2
Dddperdue
Last edited Mar 23, 2020
Created on Mar 23, 2020
Forked from Scatter Plot.js

This example displays a scatter plot of automobile data, mapping horsepower on the x-axis against weight on the y-axis. Each point represents a car model, rendered as a translucent blue circle with a fixed radius. The visualization uses D3.js v5, employing `scaleLinear` for both axes and `extent` to compute the domains. The SVG output includes gridlines generated by `axisLeft` and `axisBottom`, with the resulting data loaded from a local CSV file (auto-mpg.csv) covering vehicle specifications.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed