Activity 7 Task 5
✓ Published1🌍 Public
This bubble chart visualizes the correlation between average horsepower, torque, and highway MPG across 31 car makes. Each circle’s position reflects horsepower on the x-axis and torque on the y-axis, while its radius encodes highway MPG, with color distinguishing car brands. Hovering reveals a tooltip showing the make. The visualization uses D3 v7’s `d3.scaleLinear`, `d3.scaleOrdinal`, and `d3.csv` to load data, with a legend for MPG values and a categorical color scale. SVG rendering and CSS transitions enhance interactivity.
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.
MIT Licensed