Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatterplot

Public visualization

Viewing a saved revision (read-only)

c4d90ca304cd4d889f8c61cd64f5c8d9

Scatterplot

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