Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Activity-6_Question-3

Public visualization

Fork of Activity-6_Question-3

0 stars0🌍 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

Comments

Sign in to join the discussion.

MIT Licensed