# Visual Playground Life Sheet All the code to visualize the FxLifeSheet data using [Plotly JS](https://plotly.com/javascript/) ## Dependencies ```sh bundle install ``` Create a `.keys` file in the current directory with the following content ```sh export DATABASE_URL="postgresql://[url]" export DEFAULT_MIN_DATE="2019-04" ``` ## Run server ```sh source .keys ``` ```sh bundle exec ruby server.rb ``` ## Run frontend ```sh cd frontend && python -m SimpleHTTPServer ``` and open [http://127.0.0.1:8000/frontend.html](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](https://user-images.githubusercontent.com/869950/158059566-3f5c87ef-9103-4f71-b96e-73b2e690054b.jpg)