🌍 Public
Viewing a saved revision (read-only)
583169939069443093179b4683b701b6
Activity 6_Task 4
This D3.js bubble chart visualizes the correlation between average horsepower, torque, and highway MPG for various car makes. Each circle’s x-position maps to horsepower, y-position to torque, and radius to highway MPG, while color encodes the car manufacturer using `d3.interpolateTurbo`. The chart features interactive tooltips on hover and includes a legend for bubble size and color. Data is loaded from a local CSV using `d3.csv`, with axes and scales built via `d3.scaleLinear` and `d3.axisBottom`/`d3.axisLeft`.
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.