Practice4 car scatter plot
✓ Published6🌍 Public
This scatter plot displays the relationship between horsepower and weight for 392 cars from the 1970s, with each red, semi-transparent circle representing a vehicle. The visualization uses D3 v5's `scaleLinear`, `axisBottom`, and `axisLeft` to construct the axes, while `csv` loads the data from a local CSV file containing attributes like mpg, cylinders, and origin. SVG circles are positioned using the computed scales, with gridlines and axis labels rendered through the D3 axis API.
AI-generated descriptionMIT Licensed