A country dashboard from open statistics
A dashboard that compares countries on population, income, health and energy, built from World Bank indicators and Our World in Data charts.
For your agent: agent.md
Parts
Steps
- Pull indicators from the World Bank API v2 with format=json (no key) and page through the results.
- Download Our World in Data series by adding .csv to a chart's /grapher/ URL.
- Load both into DuckDB and join on country code and year.
- Chart with Plotly in Streamlit; let a data analyst agent answer questions over the tables.
Watch out
- Credit the World Bank and Our World in Data, and the original provider named in each indicator's metadata.
- Some third-party indicators carry their own restrictions; check the metadata before you redistribute them.