Easily create a Python dashboard web application using Streamlit
Here, I’ll provide a quick overview of creating dashboards with Streamlit
You can learn how to create these kind of dashboard apps by clicking this link to the complete article. This dashboard was created using the streamlit app starter kit and I have used demo weather and stock data. The configuration file is located in the “.streamlit” folder, where you can play around with the other components like the fonts. This app starter kit will produce practically all of the files necessary for creating a web application.
Let’s have look at this dashboard application where you’ll see a sidebar that you can choose to show or hide, and if you choose to conceal it, the app will enlarge to fill the width of the web browser. The input widgets are also visible in the sidebar. For instance, you may alter the heat map parameter’s colour by setting from temp_min, which is the default, to temp_max, which is the highest temperature, by accessing the parameter’s sidebar.
You can modify the quarter data that is displayed by default in the donut chart parameter, which is quarter_2 to quarter_3.
The input parameter widgets on the sidebar are addressed in the first section of the streamlit_app.py file and the metrics, heatmap, donut chart, and linechart are addressed in the remaining section as shown below.
Using the streamlit library, you can develop this kind of dashboard web applications in native Python in only a few lines of code. You can also experiment with all the different data visualisation libraries, such as matplotlib, plotly, etc. Additionally, you can obtain data from CSV files or from APIs. It is highly customizable and you can use this dashboard as sort of a template and build upon it.
App link : https://saispr-streamlit-dashboard-streamlit-app-xymzzq.streamlit.app/
Credits : Chanin Nantasenamat
Thanks for the read. So what do you guys think? I’ll be interested to know your thoughts on it. I hope I’ve given you a brief idea about how to quickly build data-driven web apps using Streamlit library. Give it a 💚, if you like this post for extra motivation. I’m always open to your suggestions and queries.