This project is about building 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.
Belly-Button-Biodiversity
| |__ Images # images used in project
| |__ data
| | |__ sample.json # dataset
| |__static/
| |__ js
| |__ app.js # js files for webpage
|
|__index.html
|__ .gitignore
|__ README.md # read me file
For this purpose, D3 library is used to read in samples.json
. and then these items added to the page:
-
A dropdown menu which filters each subject ID (person) in the page.
-
A demographic information section which is designed to show the key-value pairs from the sample meta data of JSON object for each sunject ID(individual).
- Horizontal bar chart to display the top 10 OTUs found in that individual and uses :
sample_values
as the valuesotu_ids
as the labelsotu_labels
as the hovertext
- A bubble chart which uses:
otu_ids
for the x valuessample_values
for the y valuessample_values
for the marker sizeotu_ids
for the marker colorsotu_labels
for the text values
- A donut chart with a needle which acts similar to a guage chart to display the weekly washing frequency of the individual.
By choosing a new sample from dropdown list, the demographic information section and all of the plots get updated.
And finally this is how the dashboard looks like:
# | Source | Link |
---|---|---|
1 | Belly Button Biodiversity study at Public Science website | http://robdunnlab.com/projects/belly-button-biodiversity/ |