act6_question3
✓ Published1🌍 Public
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 descriptionMIT Licensed