Scatterplot
✓ Published0🌍 Public
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 descriptionMIT Licensed