Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter Plot cars

Public visualization

Viewing a saved revision (read-only)

67c228ee2ade4c3f866a005d782c663a

Scatter Plot cars

0 stars0🌍 Public
HHaniAlHawasli
Last edited Nov 24, 2020
Created on Nov 24, 2020
Forked from Scatter Plot cars

This scatter plot displays the relationship between horsepower and weight for various car models, sourced from the auto-mpg dataset. The visualization loads data via `d3.csv` and encodes each car as a circle, using `d3.scaleLinear` for both axes. The code constructs the chart with `d3.select`, `d3.axisBottom`, and `d3.axisLeft`, and removes the default axes domains for a cleaner look. All marks are rendered as SVG elements, with styling applied through a linked stylesheet.

AI-generated description