Skip to content

superannotateai/sa-dash-prerequisites

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Running via Docker

To create the chart

docker build -t "chart_creation" .
docker run --network none --rm -e DASH_OUTPUT_PATH="output" -v "$PWD/output_from_docker:/app/output" chart_creation

To verify the output

open output_from_docker/output.html
open output_from_docker/screenshot.png

Running via Python

Installation

pip3 install -r requirements.txt
plotly_get_chrome -y

# Get all the topology files
mkdir topojson
cd topojson

# Download the latest version of the topology files
curl -s https://api.github.com/repos/plotly/plotly.js/contents/dist/topojson | jq -r '.[].download_url' | xargs -n 1 curl -O

To create the chart

python3 gen.py && python3 vis.py

To verify the output

open output.html
open screenshot.png

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •