besimabdulai/albanian-map
๐ Chance of Being Born Albanian โ 2025 (Streamlit App)
An interactive Streamlit web app visualizing the estimated likelihood of being born Albanian (to Albanian parents) by country โ using approximate 2025 population and ethnic proportion data.
๐ Live Demo: Hugging Face Space
๐ Overview
This app shows how common it is to be ethnically Albanian depending on where youโre born โ from near certainty in Albania and Kosovo to rarity across the globe.
It includes:
- ๐ Interactive world map (Plotly choropleth)
- ๐ Ranked bar chart by country
- ๐พ Optional PNG export
- ๐ Custom CSV upload support
- ๐งญ Color themes & Europe zoom
Built with Streamlit and Plotly for fast, elegant visualization directly in your browser.
๐งฎ Data Summary
๐ Global average: ~0.1% โ roughly 1 in 1,000 people worldwide.
๐งฉ Features
โ Interactive world map (Plotly) โ Ranked bar chart visualization โ Sidebar controls for colors & zoom โ CSV upload for custom data โ PNG export for social media posts โ Works directly on Hugging Face Spaces
๐ ๏ธ Tech Stack
โ๏ธ Run Locally
git clone https://huggingface.co/spaces/YOUR-USERNAME/albanian-map
cd albanian-map
pip install -r requirements.txt
streamlit run app.py