Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Demographic indicators

Public visualization

Viewing a saved revision (read-only)

102e072407ea4c899dceb00056e46088

Demographic indicators

0 stars1🌍 Public
DDouglas mochama
Last edited Apr 10, 2024
Created on Apr 10, 2024
Forked from Survival rate

This interactive visualization presents two bar charts comparing demographic indicators across countries: life expectancy trends and birth rate trends. Users select a country from dropdown menus to highlight its values within each chart. The code uses D3.js (v7) to load CSV data from GitHub repositories, group data by country, compute birth rates from population changes, and render SVG bar charts with axes and labels. The selection dropdowns trigger chart updates for the chosen country's data.

AI-generated description