D3 Cars Scatter Plot
✓ Published1🌍 Public
This scatter plot displays the relationship between horsepower and weight for various car models from the auto-mpg dataset. Each purple, semi-transparent circle represents a single car, with its position determined by the linear scales mapped from the data. The visualization uses D3 v7's `scaleLinear`, `axisLeft`, and `axisBottom` APIs to construct the plot within an SVG canvas. The code loads data from a CSV file and parses numeric fields before rendering, with axis labels, grid lines, and a title styled via an external stylesheet.
AI-generated descriptionMIT Licensed