1
0
mirror of https://github.com/elisspace/FxLifeSheet.git synced 2026-08-29 15:44:00 +00:00
Files
FxLifeSheet/visual_playground/README.md
2022-03-13 14:55:25 +01:00

1.5 KiB

Visual Playground Life Sheet

All the code to visualize the FxLifeSheet data using Plotly JS

Dependencies

bundle install

Create a .keys file in the current directory with the following content

export DATABASE_URL="postgresql://[url]"
export DEFAULT_MIN_DATE="2019-04"

Run server

source .keys
bundle exec ruby server.rb

Run frontend

cd frontend && python -m SimpleHTTPServer

and open http://127.0.0.1:8000/frontend.html

Examples

frontend.html

season-winter weight-sleeping-hr

pie_chart.html

manual-alcohol-intake-months swarm-cities-top

github_style.html

weather-temperature-max

test_map.html

map-world-overview