🌍 Public
Viewing a saved revision (read-only)
c85365dfca6440a0ac43c31f6a8359fd
Activity_6_Question 4
A bubble chart visualizes the correlation between population, area, and GDP for various countries. Each circle's x-axis position maps to population, its y-axis to GDP, and its radius to area, with color encoding the country. Interactive tooltips display the exact values for each country on hover. The visualization uses D3.js v7 with linear scales for all axes, an ordinal color scale for countries, and SVG for rendering. It also includes a legend for both area sizes and country colors, with hover effects increasing bubble opacity and stroke width.
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.