1
0
mirror of https://github.com/elisspace/FxLifeSheet.git synced 2026-08-29 15:44:00 +00:00
Files
FxLifeSheet/visual_playground
2022-03-15 17:48:42 +01:00
..
2020-12-13 18:48:56 +01:00
2022-03-11 13:46:40 +01:00
2021-11-03 17:07:48 +01:00
2021-11-03 17:07:48 +01:00
2022-03-13 14:55:25 +01:00
2022-02-06 20:09:36 +01:00

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