Skip to main content
100%

Scatterplot

✓ Published0🌍 Public
DDan Henri
Last edited Oct 16, 2018
Created on Oct 2, 2018
Forked from Customizing Axes

This scatterplot visualizes the relationship between horsepower and weight for cars, with each semi-transparent pink circle representing a vehicle. The SVG chart uses D3 v5’s `csv` to load auto-mpg data, converted to numbers before rendering. Axes are built with `scaleLinear`, `axisBottom`, and `axisLeft`, while grid lines are created via tick sizes. Labels and a title are added as SVG text elements, with styling controlled by CSS classes.

AI-generated description
MIT Licensed

Similar vizzes