Skip to main content
100%

Cars scatter plot

✓ Published2🌍 Public
Uumihito
Last edited May 28, 2020
Created on May 26, 2020
Forked from ScaterPlot

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 description
MIT Licensed

Similar vizzes