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

0
CConnor Trump
Last edited Oct 10, 2021
Created on Oct 10, 2021
Forked from Scatter Plot

This scatter plot visualizes the relationship between vehicle weight and horsepower for a dataset of cars, with each point representing an individual model. The visualization uses D3.js v7 with a React framework and SVG rendering to draw semi-transparent blue circles on a Cartesian grid. Axis labels and tick marks are rendered using D3’s `axisLeft` and `axisBottom` functions, with gridlines extending across the plot. Data is loaded from a CSV file via `d3.csv` and parsed into numeric values before scaling with `scaleLinear`.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed