|
| 1 | +# Demographic Atlas – Latin America Population Age Structure Dataset |
| 2 | + |
| 3 | +This directory contains the interactive demographic atlas for the project: |
| 4 | + |
| 5 | +Latin America Population Age Structure Dataset (2000–2023) |
| 6 | + |
| 7 | +The atlas provides a visual exploration of the dataset through interactive charts and demographic indicators derived from the population age structure. |
| 8 | + |
| 9 | +It is designed as a lightweight static visualization tool that can be published directly using GitHub Pages. |
| 10 | + |
| 11 | +--- |
| 12 | + |
| 13 | +# Contents |
| 14 | + |
| 15 | +The atlas directory is organized as follows: |
| 16 | + |
| 17 | +atlas/ |
| 18 | +├── index.html |
| 19 | +├── assets/ |
| 20 | +│ ├── atlas.css |
| 21 | +│ └── atlas.js |
| 22 | +├── data/ |
| 23 | +│ ├── atlas_data.json |
| 24 | +│ └── atlas_indicators.csv |
| 25 | +└── README.md |
| 26 | + |
| 27 | +--- |
| 28 | + |
| 29 | +### index.html |
| 30 | + |
| 31 | +Main entry point of the interactive atlas. |
| 32 | + |
| 33 | +It loads the visualization interface and renders demographic charts using the data stored in the data/ directory. |
| 34 | + |
| 35 | +--- |
| 36 | + |
| 37 | +### assets/ |
| 38 | + |
| 39 | +Contains the front-end resources used by the atlas. |
| 40 | + |
| 41 | +atlas.css – styles for layout, typography, and charts |
| 42 | +atlas.js – JavaScript logic for loading data and rendering visualizations |
| 43 | + |
| 44 | +--- |
| 45 | + |
| 46 | +### data/ |
| 47 | + |
| 48 | +Contains processed datasets specifically prepared for the atlas visualizations. |
| 49 | + |
| 50 | +atlas_data.json |
| 51 | +Main data source used by the browser and optimized for JavaScript visualizations. |
| 52 | + |
| 53 | +atlas_indicators.csv |
| 54 | +Dataset including demographic indicators derived from the base dataset. |
| 55 | + |
| 56 | +--- |
| 57 | + |
| 58 | +# Data source |
| 59 | + |
| 60 | +The atlas is derived from the main dataset located in the repository: |
| 61 | + |
| 62 | +data/dataset.csv |
| 63 | + |
| 64 | +This dataset includes demographic information on the population age structure of selected Latin American countries for the years: |
| 65 | + |
| 66 | +- 2000 |
| 67 | +- 2010 |
| 68 | +- 2020 |
| 69 | +- 2023 |
| 70 | + |
| 71 | +--- |
| 72 | + |
| 73 | +# Indicators included in the atlas |
| 74 | + |
| 75 | +The atlas visualizations may include indicators such as: |
| 76 | + |
| 77 | +- population age distribution |
| 78 | +- youth population share |
| 79 | +- elderly population share |
| 80 | +- aging index |
| 81 | +- demographic structure trends |
| 82 | + |
| 83 | +These indicators are calculated using scripts located in the scripts/ directory. |
| 84 | + |
| 85 | +--- |
| 86 | + |
| 87 | +# Regenerating the atlas data |
| 88 | + |
| 89 | +Atlas data files are generated using Python scripts. |
| 90 | + |
| 91 | +Typical workflow: |
| 92 | + |
| 93 | +python scripts/calculate_aging_index.py |
| 94 | +python scripts/build_atlas_data.py |
| 95 | + |
| 96 | +This process produces: |
| 97 | + |
| 98 | +atlas/data/atlas_data.json |
| 99 | +atlas/data/atlas_indicators.csv |
| 100 | + |
| 101 | +--- |
| 102 | + |
| 103 | +# Publishing |
| 104 | + |
| 105 | +The atlas is designed to work as a static web application. |
| 106 | + |
| 107 | +Once deployed, the atlas can be accessed via: |
| 108 | + |
| 109 | +/atlas/index.html |
| 110 | + |
| 111 | +--- |
| 112 | + |
| 113 | +# License |
| 114 | + |
| 115 | +Creative Commons Attribution 4.0 International (CC BY 4.0) |
| 116 | + |
| 117 | +--- |
| 118 | + |
| 119 | +# Author |
| 120 | + |
| 121 | +Juan Moisés de la Serna |
| 122 | +ORCID: https://orcid.org/0000-0002-8401-8018 |
0 commit comments