🌍 Public
Viewing a saved revision (read-only)
feac41942b1e480d9a9ef147a8b2a1b8
activity 6 question4
This bubble chart visualizes the relationship between average camera resolution (megapixels) and average battery capacity (mAh) for various smartphone brands, with bubble size representing average screen size in inches. Each brand is color-coded using a categorical Tableau10 palette. The chart uses D3’s linear scales for the x- and y-axes, a square-root scale for bubble radius, and an ordinal scale for colors. Hovering over a bubble displays a tooltip with the brand name and the exact values for battery, camera, and screen size.
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.