Skip to main content
100%

Cars Scatter Plot

✓ Published0🌍 Public
JJUN DONG
Last edited Dec 3, 2020
Created on Dec 3, 2020
Forked from Cars 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 vehicle. The chart uses D3 v5’s `scaleLinear`, `axisBottom`, and `axisLeft` to construct the axes, while `csv` loads the data from a remote file. SVG rendering is employed, with margins and a title added via D3 selections. The code explicitly parses numeric fields like horsepower and weight before scaling them.

AI-generated description
MIT Licensed

Similar vizzes