Skip to main content
100%

act6_question3

✓ Published1🌍 Public
Ssravani1969@gmail.com
Last edited Mar 30, 2025
Created on Mar 30, 2025
Forked from act6_question3.1

This scatterplot visualizes the relationship between average horsepower and highway MPG for 31 car makes, with each make represented by a distinct colored symbol. The chart, built with D3 v6 in an SVG framework, uses `d3.scaleLinear` for both axes and `d3.scaleOrdinal` with `d3.schemeCategory10` for color encoding. Each data point is rendered as a `path` using `d3.symbol`, with positions mapped from parsed CSV values. The visualization includes labeled axes, a legend listing all makes, and clearly shows the overall trend of decreasing fuel efficiency as horsepower increases.

AI-generated description
MIT Licensed

Similar vizzes