๐ Public
Viewing a saved revision (read-only)
79845709f21943e9997b8b5a703e5419
Age pyramid
This visualization shows the age distribution of a population, separated by sex and marital status. The pyramid displays males on the left and females on the right, with the y-axis showing age from 0 to 90 and the x-axis representing population counts in thousands. Each age group is broken down by marital status (single, married, divorced, widowed), with different colors representing each category. The chart uses the Observable Plot library, with `Plot.plot`, `Plot.areaX`, and `Plot.ruleX`/`Plot.ruleY` to construct the pyramid, while D3's `d3.csv` loads the population data.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.