In this challenge, I had to 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 D3 library to the
samples.jsonfile from the given URL (https://2u-data-curriculum-team.s3.amazonaws.com/dataviz-classroom/v1.1/14-Interactive-Web-Visualizations/02-Homework/samples.json). -
Created a horizontal bar chart with a dropdown menu to display teh top 10 OTUs found in that individual.
- Used
sample_valuesas the values fo rthe bar chart. - Used
otu_idsas the labels for the bar chart. - Used
otu_labelsas the hovertext for the chart.
- Used
-
Created a bubble chart that displays each sample:
- Used
otu_idsfor the x values. - Used
sample_valuesfor the y values. - Used
sample_valuesfor the marker size. - Used
otu-idsfor the marker colors. - Used
otu_labelsfor the text values.
- Used
-
Displayed the sample metadata, i.e, an indivdual's demographic information.
-
Displayed each key-value pair from the metadata JSON object.
-
Updated all the plots when a new sample is selected.