🌍 Public
Viewing a saved revision (read-only)
32d1104b2a1f4e61b017b138329f5c1e
QUESTION-4(TASK-4)
This bubble chart visualizes product sales across three regions, with Europe on the x-axis, Asia on the y-axis, and North America represented by bubble size. Each circle’s color distinguishes a product category, and hovering reveals exact sales figures via a tooltip. Built with D3 v7, the code uses `d3.scaleLinear` for axes, `d3.scaleSqrt` for bubble radius, and `d3.scaleOrdinal` with `d3.schemeCategory10` for colors. Data is loaded from a CSV file using `d3.csv`, and the SVG is rendered with axes, labels, and interactive event handlers.
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.