🌍 Public
Viewing a saved revision (read-only)
fad36eed2810416e8bcd8aa6a598eb99
Activity6_Task4
A bubble chart shows how average horsepower, torque, and highway MPG correlate for 31 car brands, with each circle’s x-position mapping to horsepower, y-position to torque, and radius to highway MPG. Color encodes the car make, and a tooltip displays the brand on hover. Built with D3 v7, the visualization uses `d3.scaleLinear` for axes and bubble size, `d3.scaleOrdinal` with `d3.interpolateTurbo` for colors, and SVG circles with mouse-event handlers for interaction. Data is loaded via `d3.csv` from a local file.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.