question4activity6
✓ Published0🌍 Public
This bubble chart explores the relationship between average horsepower (x-axis), torque (y-axis), and highway MPG (bubble size and legend circles) across 24 synthetic car makes, with each make assigned a unique color from an ordinal scale using `d3.interpolateTurbo`. The visualization animates on hover, using tooltip event handlers to display the car make and applying CSS opacity transitions for interactivity. Built with D3 v7, the chart renders SVG circles via `d3.select` and `d3.join`, with axes scaled through `d3.scaleLinear`, and includes a legend mapping MPG values to proportional radii.
AI-generated descriptionMIT Licensed