Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Scatter Plot

Public visualization

Cars Scatter Plot

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

Comments

Sign in to join the discussion.

MIT Licensed