Scatter Plot
✓ Published1🌍 Public
A scatter plot visualizes the relationship between horsepower and weight for individual vehicles, with each red circle marking one data point. The chart uses D3 v5’s `scaleLinear`, `axisBottom`, and `axisLeft` to map the CSV data loaded via `csv` from a GitHub gist, rendering SVG circles with `selectAll` and `append`. Axis ticks extend across the plot via `tickSize`, and labels and a title are added as SVG text elements, with styling from CSS.
AI-generated descriptionMIT Licensed