🌍 Public
Viewing a saved revision (read-only)
ed02195f26d04c35a11135490188eef5
NBA Scatter Plot
This scatter plot visualizes the relationship between horsepower and weight for a dataset of cars, with each red semi-transparent circle representing a single vehicle. The chart includes labeled axes for both dimensions and a title, with gridlines provided by the axis ticks. Built with D3 v5, the code uses `scaleLinear`, `extent`, `axisBottom`, and `axisLeft` to map data values to SVG coordinates, and loads the auto-mpg CSV dataset from a remote URL. Axis labels and the title are added as SVG text elements, while tick marks and gridlines are styled via CSS.
AI-generated descriptionThis plot is about cars