🌍 Public
Viewing a saved revision (read-only)
7c6f5b44b0b04a35b7ee889a9bc06785
Activity6_Question 9
This bubble chart visualizes the relationship between product price and sales volume, with bubble size representing product rating and color distinguishing product categories. The chart uses D3 v7 with SVG rendering, incorporating `scaleOrdinal` with `schemeCategory10` for categorical colors, `scaleLinear` for both axes, and `scaleSqrt` for bubble radius. Interactive tooltips appear on mouseover, displaying detailed product information via D3 event handlers. Product labels are placed inside each bubble, and a categorical legend maps colors to outdoor product types.
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.