Cars Scatter Plot
✓ Published0🌍 Public
This scatter plot visualizes the relationship between horsepower and weight for vintage cars, with each blue semi-transparent circle representing a vehicle. The chart uses D3 v6’s `scaleLinear`, `axisLeft`, and `axisBottom` to construct the axes, which include grid lines and rotated axis labels. Data is loaded from a remote CSV using `d3.csv`, with numeric fields parsed before rendering. The SVG-based visualization applies a margin convention and positions circles via the `xScale` and `yScale` functions.
AI-generated descriptionMIT Licensed