🌍 Public
Viewing a saved revision (read-only)
05aa136a754b44289f7492fc06234358
Act6
This bubble chart visualizes the correlation between average horsepower, torque, and highway MPG for various car makes. Each bubble’s position reflects horsepower and torque, while its size encodes highway MPG and its color identifies the manufacturer. The D3.js v7 code uses `d3.scaleLinear` for axes and bubble scaling, `d3.scaleOrdinal` for color mapping, and an interactive tooltip that appears on mouseover. Animated SVG elements and a legend for MPG values are also included.
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.