Giter Site home page Giter Site logo

fagan2888 / belly-button-biodiversity Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bigbluey/belly-button-biodiversity

0.0 1.0 0.0 338 KB

Full-Stack Data Analysis to Build an Interactive Dashboard Exploring the Belly Button Biodiversity DataSet Using Plotly.js, Flask and Heroku

License: MIT License

Python 28.95% JavaScript 49.89% HTML 21.16%

belly-button-biodiversity's Introduction

Belly-Button-Biodiversity

Background

Full-Stack Data Analysis to build an interactive dashboard exploring the Belly Button Biodiversity Dataset using Plotly.js, Flask and Heroku

Objectives

Step 1 - Plotly.js

Use Plotly.js to build interactive charts for the dashboard

  • Create a Pie Chart that uses data from the samples route (/samples/<sample>) to display the top 10 samples
    • Use sample_values as the values for the Pie Chart
    • Use otu_ids as the labels for the Pie Chart
    • Use otu_labels as the hovertext for the Pie Chart

  • Create a Bubble Chart that uses data from the samples route (/samples/<sample>) to display each sample
    • Use otu_ids for the x values
    • Use sample_values for the y values
    • Use sample_values for the marker size
    • Use otu_ids for the marker colors
    • Use otu_labels for the text values

  • Display the sample metadata from the route /metadata/<sample>

    • Display each key/value pair from the metadata JSON object somewhere on the page
  • Update all of the plots any time that a new sample is selected

  • Adapt the Gauge Chart from https://plot.ly/javascript/gauge-charts/ to plot the Weekly Washing Frequency obtained from the route /wfreq/<sample>

    • Modify the example gauge code to account for values ranging from 0 - 9
    • Update the chart whenever a new sample is selected

Step 2 - Heroku

Deploy the Flask App to Heroku

  • Use the provided SQLite file for the database

Heroku Deployment:

https://belly-button-biodiversity2019.herokuapp.com/

Step 3 - Flask API

Use Flask API code to serve the data needed for the plots

  • Test the routes by visiting each one in the browser

belly-button-biodiversity's People

Contributors

bigbluey avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.