Cars scatter plot
✓ Published2🌍 Public
This scatter plot visualizes the relationship between horsepower and weight for a dataset of cars, with each circle representing a vehicle. The plot uses D3 v5’s `scaleLinear`, `axisBottom`, and `axisLeft` to construct axes with grid lines, while the data is loaded via `csv` from an external auto-mpg dataset. Circles are rendered as SVG elements, and axis labels and a title are added as text. The margins and `nice()` scaling ensure readable axis limits.
AI-generated descriptionMIT Licensed