Skip to main content
100%

Scatter Plot cars

✓ Published0🌍 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
MIT Licensed

Similar vizzes