🌍 Public
Viewing a saved revision (read-only)
0ce2bc2e1c904cbbab38528f05659399
Activity6_Task4
This bubble chart shows the correlation between average horsepower, torque, and highway MPG across different car makes. It uses d3.scaleLinear for the x and y axes, with bubble size mapped to highway MPG and color mapped to car make via d3.interpolateTurbo and d3.scaleOrdinal. The visualization includes a tooltip that reveals the make on hover, and a legend displaying MPG values and color categories. Data is loaded from a CSV with d3.csv and rendered as SVG circles with animation on mouseover.
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.