/pru-viz

Visualizing Malaysian Election and Census Data

Primary LanguagePythonMIT LicenseMIT

pru-viz

A simple web app to visualise Malaysian election data through maps! All pull requests are welcome!

pru-viz

Quick Start

The typical python environment setup.

virtualenv venv
source venv/bin/activate

Install dependencies

pip3 install -r requirements.txt

Run the entrypoint

streamlit run GE15.py

Folder Structure

  • data: election & census data | .csv files
  • geo: geographical boundaries | .geojson files
  • pages: the other pages
  • utils: should have really named this components, contains all the shared components across the app

Credits

All data used is extracted from Thevesh and the Department of Statistics Malaysia.