In this assignment, I will build an interactive dashboard to explore the Belly Button Biodiversity dataset, which catalogs the microbes that colonize human navels.
The dataset reveals that a small handful of microbial species (also called operational taxonomic units, or OTUs, in the study) were present in more than 70% of people, while the rest were relatively rare.
-
I used the D3 library to read in
samples.json
. -
I created a horizontal bar chart with a dropdown menu to display the top 10 OTUs found in that individual.
-
I used
sample_values
as the values for the bar chart. -
I used
otu_ids
as the labels for the bar chart. -
I used
otu_labels
as the hovertext for the chart.
- I created a bubble chart that displays each sample.
-
I used
otu_ids
for the x values. -
I used
sample_values
for the y values. -
I used
sample_values
for the marker size. -
I used
otu_ids
for the marker colors. -
I used
otu_labels
for the text values.
-
I displayed the sample metadata, i.e., an individual's demographic information.
-
I displayed each key-value pair from the metadata JSON object somewhere on the page.
-
I update all of the plots any time that a new sample is selected.
-
I made a Gauge Chart to show the weekly washing frequency of the individual selected.