Skip to main content
100%

cars scatter plot

✓ Published2🌍 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.

MIT Licensed

Similar vizzes