🌍 Public
Viewing a saved revision (read-only)
7ff11b636ad3427ab03d5ca88857251e
act8_task4
This interactive bubble chart visualizes the correlation between average horsepower, torque, and highway MPG across 31 car makes. Each bubble’s position encodes horsepower along the x-axis and torque along the y-axis, while its radius scales with highway MPG. The visualization uses d3.csv to load data, d3.scaleLinear for axes and bubble sizing, and d3.scaleOrdinal with interpolateTurbo color mapping for categorical makes. Hovering reveals a tooltip showing the car make. A legend displays MPG reference circles and color-coded dots for each brand. The SVG rendering includes animated hover transitions.
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.