mufaan / plotly_challenge

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Plot.ly Homework - Belly Button Biodiversity

Bacteria by filterforge.com

In this assignment, you will build an interactive dashboard to explore the Belly Button Biodiversity DataSet.

Step 1 - Plotly.js

Use Plotly.js to build interactive charts for your dashboard.

  • Create a PIE chart that uses data from your 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 chart.

    PIE Chart

  • Create a Bubble Chart that uses data from your 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 sample_values for the marker colors.

    • Use otu_labels for the text values.

    Bubble Chart

  • 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.

Step 2 - Heroku

Deployed my Flask app to Heroku.

  • used the provided sqlite file for the database.

Advanced Challenge Assignment

Weekly Washing Frequency Gauge


Flask API

Used Flask API starter code to serve the data needed for your plots.

  • Tested my routes by visiting each one in the browser.

Hints

None to state


About


Languages

Language:Python 39.4%Language:JavaScript 37.5%Language:HTML 23.1%