File size: 1,890 Bytes
2e8f0de
02b2466
7002c2f
 
 
2e8f0de
 
8fb2f05
7002c2f
2e8f0de
 
cd1f702
7002c2f
02b2466
 
7002c2f
02b2466
 
 
 
 
 
 
7002c2f
 
02b2466
 
 
 
 
 
 
 
7002c2f
02b2466
 
 
 
 
 
 
 
 
cd1f702
02b2466
 
7002c2f
02b2466
7002c2f
02b2466
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
---
title: KPI Dashboard
emoji: πŸ“Š
colorFrom: blue
colorTo: blue
sdk: docker
pinned: false
license: apache-2.0
short_description: Example of a Key Performance Indicator (KPI) dashboard
---

# KPI Dashboard

This dashboard provides an example of a Key Performance Indicator (KPI) dashboard, designed to help users get started
and extend further. It uses fictional budget data to demonstrate the capabilities of Vizro using real world applications.

**Created by:** [Huong Li Nguyen](https://github.com/huong-li-nguyen)

---

### πŸ—“οΈ Data

Special thanks to the [#RWFD Real World Fake Data initiative](https://data.world/markbradbourne/rwfd-real-world-fake-data), a community project that
provides high-quality fake data for creating realistic dashboard examples for real-world applications.

**Note:** The data has been additionally edited for the purpose of this example.

### πŸ“Š Plotly resources

- [Bar charts](https://plotly.com/python/bar-charts/)
- [Pie charts](https://plotly.com/python/pie-charts/)
- [Choropleth maps](https://plotly.com/python/choropleth-maps/)
- [Unstacked area charts](https://plotly.com/python/filled-area-plots/)

### πŸš€ Vizro features applied

- [Vizro tutorial on pages, layouts and dashboards](https://vizro.readthedocs.io/en/stable/pages/tutorials/explore-components/)
- [Custom components](https://vizro.readthedocs.io/en/stable/pages/user-guides/custom-components/)
- [Custom charts](https://vizro.readthedocs.io/en/stable/pages/user-guides/custom-charts/)
- [Custom CSS](https://vizro.readthedocs.io/en/stable/pages/user-guides/assets/)

### πŸ–₯️ App demo

<img src="./images/kpi-dashboard.gif" alt="Gif to KPI dashboard" width="600">

---

## How to run the example locally

1. Run the `app.py` file with your environment activated where `vizro` is installed.
2. You should now be able to access the app locally via http://127.0.0.1:8050/.