activity6_question_4
✓ Published0🌍 Public
This interactive bubble chart visualizes the relationship between a team's wins, average attendance, and revenue, using bubble size to encode highway MPG and color to distinguish team makes. Rendered as SVG with D3 v7, the chart includes axes for team and wins, a tooltip displaying team make on hover, and dual legends for bubble size and categorical colors. The code reads from a local CSV via `d3.csv` and employs `d3.scaleLinear`, `d3.scaleOrdinal`, and event handlers for interactive feedback.
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