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_idusing 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_ids 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
letdeclarations instead ofvarstatements in the functions inapp.js. - The dashboard is deployed as an app on Heroku