cars scatter plot
✓ Published2🌍 Public
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 descriptionA bare minimum HTML page.
See also React Starter.
MIT Licensed