🌍 Public
Viewing a saved revision (read-only)
56624d08adfd4895a7b8bcd27b0a73eb
Task8_Tutorial4
This bubble chart visualizes the correlation between average horsepower, torque, and highway MPG for various car makes. Each circle’s x-position maps to horsepower, its y-position to torque, and its radius to highway MPG, while color distinguishes the car brand. Built with D3 v7, the SVG rendering includes interactive tooltips that display the make on hover, plus legends for bubble size and categorical colors. The chart uses d3.scaleLinear for positioning, d3.scaleOrdinal for color mapping, and d3.interpolateTurbo for the color palette.
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.