Skip to main content
100%

Fork of Activity-6_Question-3

✓ Published0🌍 Public
Ccharanshiva769@gmail.com
Last edited Oct 23, 2024
Created on Oct 23, 2024

A scatterplot displays the relationship between horsepower and engine size for 44 vehicles, with each point colored by model year. The code uses d3.select, d3.scaleLinear, d3.axisBottom, d3.axisLeft, and d3.scaleOrdinal with schemeDark2 to build the SVG chart. A grey inner rectangle frames the plotting area, and a legend identifies years as “Generation” labels. The data comes from a CSV file containing car specifications loaded via d3.csv.

AI-generated description
MIT Licensed

Similar vizzes