Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

cars scatter plot

Public visualization

Viewing a saved revision (read-only)

a5668022d4fa4f0293cf163028ea75a4

cars scatter plot

0 stars2🌍 Public
Ssingularity6033
Last edited Jan 22, 2020
Created on Jan 22, 2020
Forked from scatter plot

This visualization shows the relationship between horsepower and weight for a collection of cars, with each car represented as a semi-transparent steel-blue circle. The scatter plot includes labeled axes, a title, and gridlines to aid readability. Built with React and D3 v5, the code uses `d3.csv` to load the auto-mpg dataset, `d3.scaleLinear` and `d3.extent` for scales, and `d3.axisBottom` and `d3.axisLeft` for the axes. All elements are rendered as SVG, leveraging the margin convention to position the plot within the fixed 960x500 canvas.

AI-generated description

A bare minimum HTML page.

See also React Starter.