🌍 Public
Viewing a saved revision (read-only)
ba0875ae53d94727ac1ec227c5827486
Acitivity6_task2
This interactive bubble chart visualizes the correlation between average horsepower, torque, and highway MPG for various car makes. Each bubble’s position reflects its horsepower (x-axis) and torque (y-axis), while its size encodes highway MPG, and its color distinguishes the car brand. The visualization uses D3.js v7 with SVG rendering, implementing tooltips on mouseover and a legend for MPG values. Data is loaded from a CSV file and processed with d3.csv, while scales and axes are built using d3.scaleLinear and d3.axisBottom/Left.
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.