🌍 Public
Viewing a saved revision (read-only)
9c05cf986fc74db1998903cd3a18812a
Activity6_Task4
This bubble chart shows the correlation between average horsepower, torque, and highway MPG across 31 car makes. Bubble position encodes horsepower and torque on the x and y axes, while bubble size represents highway MPG and color distinguishes each make. A tooltip reveals the make on hover, and a legend relates bubble size to MPG values. The visualization uses D3 v7 with d3.csv for data loading, d3.scaleLinear for position and size, d3.scaleOrdinal with d3.interpolateTurbo for colors, and SVG circles with mouse event handlers for tooltips.
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.