Skip to content

gatsiva/dash-returns-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gatsiva Visualization with Plotly Example

This is a simple demo of visualizing data from the Gatsiva Public API with the the Dash interactive Python framework developed by Plotly.

API access is currently limited to beta testers and collaborators. For more information on how to utilize the Gatsiva API or to request access, please visit the Gatsiva Website.

Visualization Screenshot

Running Locally

To run this visualization, make sure you have a Python environment installed locally. Then install the dependencies as follows:

pip install -r requirements.txt
pip install plotly --upgrade

Once the requirements have been installed, run the environment via:

python app.py

Running with Docker

Self Built

This repository contains a Docker configuration to support building an image to run the visualization. To build the image, make sure you are in the project directory and execute the following command. Be sure to replace <your_image_name> with whatever you wish to name your image.

docker build -t <your_image_name> .

When completed, simply run the following command

docker run <your_image_name>

Official Docker Image

There is an official Docker image which is automatically built from this repository. To utilize the official Docker image, simple run the following:

docker run gatsiva/dash-returns-example

Viewing the Visualization

Once the Python process has been started, you will see the following log entries in your console:

* Running on http://127.0.0.1:8050/ (Press CTRL+C to quit)
* Restarting with stat
* Debugger is active!
* Debugger PIN: 192-469-391

You may now point your browser at http://127.0.0.1:8050 to view the visualization.

Notes

  • This visualization utilizes the beta version of the Gatsiva Public API. To use a different version, simply modify the URL in the app.py code.

About

Example of accessing the Gatsiva API with Plotly Dash to visualize results

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages