This repository includes python interactive visualization methonds by using plotly and dash package.
Plot types include line chart, radar chart, map, etc.
Features include automatically refresh in given time, get data from database daily and live updating, hover around map to get detailed data, and connect with mapbox api to have a fancier visualization
The plot has generic feature, basically for the same type of plot, we just change the data source and apply some basic panads function then it works fine with a new plot. AKA template.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
What things you need to install the software and how to install them
Python 3 environment
The main packages drawing the graph is plotly and dash, we read https://dash.plot.ly/ as reference To install, simply type
pip install dash
pip install plotly
To import, one thing might be different is
import plotly.graph_objs as go
sometimes work but sometimes doesn't work on some computer, try
import plotly.graph_objects as go
instead
We follow the tutorial on this document: https://docs.google.com/document/d/1DjWL2DxLiRaBrlD3ELyQlCBRu7UQuuWfgjv9LncNp_M/edit. All of our code is deployed on heroku.
Please wait for 30 seconds after click on the link, cause the code need to be launched on a remote server on heroku, it takes time.
If nothing show up initially, try to play with the bars and hit submit, then your are good to go. You can hover on the graph to find more insights about out data. Isn't it really cool?
- Macro CISS: https://cissploty.herokuapp.com
- World bank. https://shuyidashapp.herokuapp.com (Username: stanley, Password yuan)
- Political risk: http://gai-test1-app.herokuapp.com
- Anomalies:https://anomlies.herokuapp.com
- Turbulence: https://gai-tb-test.herokuapp.com/
- Powerplant by Mapbox: https://my-powerplant.herokuapp.com/
See also the list of contributors who participated in this project.






