A Python project for visualizing Brazil's inflation data over the past 30-40 years, highlighting the dramatic economic transformation from hyperinflation to modern monetary stability.
This project creates dual-period visualizations that showcase:
- Pre-1994: Hyperinflation period (logarithmic scale)
- Post-1994: Modern inflation era after Plano Real (linear scale)
- Fast data processing with Polars
- Interactive and static visualizations
- Historical economic event annotations
- Publication-ready output formats
This project uses uv for dependency management:
# Clone the repository git clone https://github.com/n0vdd/inflation_graphs.git cd inflation_graphs # Install dependencies uv sync# Run the main visualization script uv run python main.py- World Bank API (primary)
- FRED API (backup)
- IBGE SIDRA API (manual backup)
Generated visualizations are saved to the output/ directory in PNG, SVG, and interactive HTML formats.