Skip to content

Visualises the change in countries' demographic profiles over time.

License

Notifications You must be signed in to change notification settings

360-info/report-population-power

Repository files navigation

Riding the population wave

Visualises the change in countries' demographic profiles over time.

♻️ Use + Remix rights

Creative Commons Attribution 4.0

These charts, as well as the analyses that underpin them, are available under a Creative Commons Attribution 4.0 licence. This includes commercial reuse and derivates.

Data in these charts comes from:

Please attribute 360info and the data sources when you use and remix these visualisations.

📽 Ready-to-use graphics

Animations and image sequences ready for editing software are in the /out folder.

🛠 Reproduce the analysis

💨 Quickstart: use the dev container

This project comes with a ready-to-use dev container that includes everything you need to reproduce the analysis (or do a similar one of your own!), including R and Quarto.

You can run the container in GitHub Codespaces without any setup:

Open in GitHub Codespaces

Or, if you have Docker installed, you can build and run the container locally:

  • Download or clone the project
  • Open it in Visual Studio Code
  • Run the Remote-Containers: Reopen in Container command

Once the container has launched (it might take a few minutes to set up the first time), you can run the analysis scripts with:

quarto render

Or look for the .qmd files to modify the analysis. (Note: the image sequence rendering in index.qmd throws an error that may prevent the file from being rendered normally. You can still run the code chunks manually in the codespace.)

Manual setup

To setup a development environment manually,

You'll need to:

Now, render the .qmd files to the /out directory with:

quarto render

Help

If you find any problems with our analysis or charts, please feel free to create an issue!