Repo for a dashboard to explore the data described in Belly Button Biodiversity DataSet with graphs built using Plot.ly.
- Flask is used for the GET/POST methods.
- SQLAlchemy is used to connet to and query the database of samples.
- JavaScript (D3) is used to respond to menu changes and update the contents of the dashboard.
- Plot.ly is used to generate the plots.
- A unique color is assigned to each
otu_id
using the functionnewMakeColorScale()
in the filecolor-scheme.js
. This function interpolates 3666 values from thehsl(hue, saturation, lightness)
color model. This allows the colors of the differentotu_id
s to remain constant between the plots and between the samples. - If there are no observations recorded for a sample (as in sample # 1495), the pie chart and bubble plot will be empty. This is a result of using
let
declarations instead ofvar
statements in the functions inapp.js
. - The dashboard is deployed as an app on Heroku