🌍 Public
Viewing a saved revision (read-only)
60628188b79f467eab74da9f795e5bc9
Fork of Activity6_Task4
A bubble chart visualizes the relationship between average horsepower, torque, and highway MPG for various car makes. Each circle's x-position maps to horsepower, the y-position to torque, and its radius encodes highway MPG from the CSV data. The chart is built with D3 v7, using `d3.scaleLinear` for axes and bubble size, `d3.scaleOrdinal` for color encoding, and an interactive tooltip that displays the make on hover. SVG elements render the graph and legend, with animated transitions on tooltip appearance.
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.