🌍 Public
Viewing a saved revision (read-only)
4927c27978084e4da105a227cc09867d
Activity8_Task4
This bubble chart visualizes the correlation between average horsepower, torque, and highway MPG for various car makes, with each circle's position encoding horsepower and torque while its radius and color represent MPG and make. The visualization uses D3.js v7 to render SVG elements, including interactive tooltips that display the make on hover. A color legend maps makes to distinct colors via `d3.scaleOrdinal`, while a separate legend demonstrates how bubble size corresponds to MPG values. The chart reads data from a local CSV file and animates tooltip transitions using D3's built-in transition methods.
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.