🌍 Public
Viewing a saved revision (read-only)
1455ee1efa8d436982a69ff9a9a7295a
Activity6_Q-3
This scatter plot displays the relationship between horsepower and acceleration for ten cars, with each point’s shape and color indicating the car model (A, B, or C). The visualization uses D3.js v7 to map data to SVG shapes, with circles, squares, and triangles drawn using `d3.select`, `d3.scaleLinear`, and `d3.path`. Axes are generated with `d3.axisBottom` and `d3.axisLeft`, and labeled via appended SVG text elements. The dataset is hardcoded in the script, and the plot is rendered entirely on an SVG canvas.
AI-generated description