- Notifications
You must be signed in to change notification settings - Fork0
modelobootcamp/15-Interactive-Visualizations-and-Dashboards
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
In this assignment, you will build an interactive dashboard to explore theBelly Button Biodiversity DataSet.
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 chartUse
otu_ids
as the labels for the pie chartUse
otu_labels
as the hovertext for the chart
Create a Bubble Chart that uses data from your samples route (
/samples/<sample>
) to display each sample.Use
otu_ids
for the x valuesUse
sample_values
for the y valuesUse
sample_values
for the marker sizeUse
otu_ids
for the marker colorsUse
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.
You are welcome to create any layout that you would like for your dashboard. An example dashboard page might look something like the following.
Deploy your Flask app to Heroku.
You can use the provided sqlite file for the database.
Ask your Instructor and TAs for help!
The following task is completely optional and is very advanced.
Adapt the Gauge Chart fromhttps://plot.ly/javascript/gauge-charts/ to plot the Weekly Washing Frequency obtained from the route
/wfreq/<sample>
You will need to modify the example gauge code to account for values ranging from 0 - 9.
Update the chart whenever a new sample is selected
Use Flask API starter code to serve the data needed for your plots.
- Test your routes by visiting each one in the browser.
Don't forget to
pip install -r requirements.txt
before you start your server.Use
console.log
inside of your JavaScript code to see what your data looks like at each step.Refer to thePlotly.js Documentation when building the plots.
Data Boot Camp © 2018. All Rights Reserved.
About
15-Interactive Visualizations
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.