🌍 Public
Viewing a saved revision (read-only)
c4d90ca304cd4d889f8c61cd64f5c8d9
Scatterplot
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