🌍 Public
Viewing a saved revision (read-only)
3119bfebe6824ba9b6c35dce61e50e2d
Activity6_Task4
A bubble chart visualizes the correlation between average horsepower, torque, and highway MPG for various car makes. Each circle's x-position represents horsepower, the y-position represents torque, and the circle's radius encodes highway MPG. Color distinguishes different makes, with a legend showing the MPG scale. The chart uses D3.js v7, employing `d3.scaleLinear` for axes and bubble size, `d3.scaleOrdinal` for color, and SVG rendering. Interactive tooltips display the car make on mouseover, updating position and visibility with D3 transitions.
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.