Skip to main content
100%

Activity6_Q-3

✓ Published1🌍 Public
Tthoutunikhitha@gmail.com
Last edited Apr 6, 2025
Created on Apr 6, 2025
Forked from Activity6_Task 3.2

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
MIT Licensed

Similar vizzes