Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

act6_question3

Public visualization

Viewing a saved revision (read-only)

fec47abdb12b468797f1def9e4602da4

act6_question3

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