Question-4
✓ Published0🌍 Public
A bubble chart shows the correlation between average horsepower, torque, and highway MPG for different car makes. Each circle's x-axis position maps to horsepower, y-axis to torque, and radius encodes highway MPG. The color represents the car manufacturer, with a legend for MPG values and the make categories. Implemented with D3 v7, it uses `scaleLinear` for axes, `scaleOrdinal` for coloring, and interactive tooltips that appear on mouseover, including transitions on hover. Data comes from a CSV file loaded via `d3.csv`.
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