https://github.com/deutranium/streamlit_echarts_demo
https://github.com/deutranium/streamlit_echarts_demo
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/deutranium/streamlit_echarts_demo
- Owner: deutranium
- Created: 2020-11-06T05:23:42.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-11-06T05:43:07.000Z (almost 5 years ago)
- Last Synced: 2025-02-09T18:49:24.292Z (8 months ago)
- Language: Python
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Integrating E-Charts with Streamlit for data visualisations
## Installation and setup
Please ensure you have [streamlit](https://www.streamlit.io/) and Python <=3.8.x installed. If you have python 3.9.x, create and use a conda environment as follows
``` bash
conda create --name echarts_streamlit python=3.8
conda activate echarts_streamlit
```Use the following command to deactivate
``` bash
conda deactivate
```To install the python requirements, run
``` bash
pip install -r requirements.txt
```And finally run the app with
``` bash
streamlit run app.py
```and you can view the app at localhost:8501
## Background
The app contains examples and the plotted data for different types of charts available, for example line chart, pie chart, heatmaps, etc. along with an example named as "click event" to demonstrate the click event in echarts.
The above mentioned features have been implemented using a streamlit component [streamlit-echarts](https://discuss.streamlit.io/t/streamlit-echarts-early-build/3655) available [here](https://github.com/andfanilo/streamlit-echarts)