▌ population-chart-video.md
▒ PATH:
▒ SIZE: 1.0 KB
▒ MODIFIED: 2026-05-23 01:30
MemPalace Archive/projects/population-chart-video.md▒ SIZE: 1.0 KB
▒ MODIFIED: 2026-05-23 01:30
# Population Chart Video
## What
Animated bar chart race video showing top 20 countries by population from 1940-2023. Same style as daily comparative data video.
## Status
Ready to run — script exists, data fetched.
## Specs
- Duration: 1m 1s (0.6s per year = 50 years, 3s title, 7.6s end card)
- Top 20 countries by population
- Same visual style as daily comparative video (dark BG, gradient bars, flags)
- Music: /tmp/interstellar_85s.mp3
## Data
- Source: Our World in Data CSV
- URL: https://ourworldindata.org/grapher/population.csv?downloadFormat=csv
- Countries: 180 sovereign states filtered via COUNTRY_CODES list
- Years: 1940-2023
## Script
- `/tmp/daily_comparative_video.py` (same script used for daily video)
- Population indicator: SP.POP.TOTL
- Output: /Volumes/My Shared Files/UTM/population_chart.mp4
## End Card
@mrbizmind (NOT @comparativedata1 — that's for comparative data channel)
## Common Bug
Data keys are integers (year int), NOT strings. Must use:
gdp_data[c].get(y, 0)
NOT:
gdp_data[c].get(str(y), 0)