🌍 Public
Viewing a saved revision (read-only)
44296c0811fd4dacaffe7e8cba720693
Activity6_Task4
This bubble chart visualizes the correlation between average horsepower, torque, and highway MPG across 31 car makes. Each circle represents a make, with its x-position mapped to horsepower, y-position to torque, and radius scaled proportionally to highway MPG using a d3.scaleLinear. The SVG is rendered with d3.v7, featuring interactive tooltips on mouseover via event listeners. A legend displays the MPG scale and color-coded car makes, while the color encoding uses d3.interpolateTurbo and d3.scaleOrdinal based on CSV data.
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.