🌍 Public
Viewing a saved revision (read-only)
79414dd0e7004499b5868da8e38cc92e
Activity6_task4
This bubble chart displays the correlation between average horsepower, torque, and highway MPG for various car makes. Each circle's x-axis position represents horsepower, the y-axis represents torque, and its size encodes highway MPG. The chart uses D3.js (v7) with SVG rendering, implementing a tooltip on mouseover and a legend. Data is loaded from a CSV file, with bubble size scaled using `d3.scaleLinear` and colors assigned via `d3.scaleOrdinal` with `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.