🌍 Public
Viewing a saved revision (read-only)
ec924960a96c46ad9c48b175c0ee1ec3
Activity6_task4
This interactive bubble chart visualizes the correlation between average horsepower, torque, and highway MPG across 31 car makes. Each circle’s position encodes torque (y-axis) and horsepower (x-axis), while its radius scales with highway MPG and its color distinguishes the vehicle brand. Built with D3 v7, the SVG visualization includes hover tooltips that display the car make, plus a legend for MPG bubble sizes and color categories. Data is loaded from a CSV file using `d3.csv`, with scales created via `d3.scaleLinear` and `d3.scaleOrdinal` for mapping values.
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.