🌍 Public
Viewing a saved revision (read-only)
7081817bae0c4bd59b637928219b0d38
Activity6_Task4
This visualization displays the correlation between average horsepower, torque, and highway MPG across 31 car makes using a bubble chart. Each circle’s position represents horsepower on the x-axis and torque on the y-axis, while its radius encodes highway MPG and color distinguishes the manufacturer. The chart includes an interactive tooltip that reveals the car make on hover, implemented with D3 v7 event handlers. A legend shows both the MPG size scale and color-coded makes. Data is loaded from a local CSV file and rendered as SVG with a linear color scale using `d3.interpolateTurbo`.
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.