🌍 Public
Viewing a saved revision (read-only)
2ac8492f316441f2bfbb8c12537d4418
Activity_6 task4
A bubble chart displays the correlation between average horsepower, torque, and highway MPG for various car makes. The visualization uses D3.js (v7) with SVG and animation, reading data from a CSV file. Bubble position maps horsepower and torque, while bubble size and color encode highway MPG and car make, respectively. Interactive tooltips appear on mouseover, showing the car make. The chart includes legends for both bubble size (MPG) and color-coded makes, rendered through D3's `scaleLinear` and `scaleOrdinal` APIs.
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.