🌍 Public
Scatter Plot
This scatter plot visualizes the relationship between horsepower and weight for cars from the auto-mpg dataset, with each circle representing a vehicle. The code loads data via `d3.csv`, scales values with `scaleLinear`, and renders axes using `axisLeft` and `axisBottom`. An SVG canvas displays the points with red, semi-transparent circles, while axis labels and a title are added as text elements, all styled through the provided CSS.
AI-generated descriptionMIT Licensed
Comments
Sign in to join the discussion.