This project features a Python script for generating heatmaps that visualize the age distribution of parents at the time their baby was born. Using data from the National Institute of Statistics and Geography (INEGI), the heatmaps can highlight trends for the entire country or individual states. The dataset includes over 98 million registered births from 1985 to 2023.
Included Files:
Python Script: A well-documented Python script for generating heatmaps.
Dataset: The complete archive of more than 98 million registered births in Mexico from 1985 to 2023, sourced from INEGI's microdata repository (link).
Requirements.txt: A list of Python dependencies required to run the script.
Sample Figure: An example heatmap illustrating the age distribution of parents in Mexico for 2023.
Features:
Customizable heatmaps for national or state-level data.
Visualization of trends over a wide historical range.
Usage: This project is intended for researchers, demographers, and data enthusiasts interested in exploring demographic patterns in parental ages over time.