Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars scatter plot

Public visualization

Cars scatter plot

0 stars2🌍 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

Comments

Sign in to join the discussion.

MIT Licensed