Skip to main content
100%

question4activity6

✓ Published0🌍 Public
Vvaishnavi6gan@gmail.com
Last edited Apr 4, 2024
Created on Apr 4, 2024
Forked from Bubble chart

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 description
MIT Licensed

Similar vizzes