Fork of Activity6_Task2
✓ Published0🌍 Public
This example shows a stacked bar chart of U.S. state population data across six age groups, with bars sorted by total population. Hovering over a bar segment displays a tooltip with the age group name and its population value. The visualization uses D3 v3 to create SVG bars and axes, with ordinal and linear scales for positioning. Data is loaded from a CSV file, and color encoding distinguishes the age categories.
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