Skip to content

foofx88/Plotly-JS-BellyButtonBiodiversity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Plotly (JS) Visualization - Belly Button Biodiversity


bacteria

Using the Belly Button dataset provided in samples.json, the data is presented to the HTML file via Javascript using D3.json()
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.


The following is a preview of the codes for the bubble chart:

main dashboard

Once all the functions are coded, buildCharts (Contains the Bar and Bubble Chart), buildSubjectData (Display Information for each Test Subject) and buildGaugeChart are completed, the initialisation for the dashboard combines them. The firstSample displays the default display on the dashboard. In this case we are showing the 1st Test Subject in the dataset provided. The optionChanged would grab the newly selected value and input into the 3 main functions.
main dashboard

Once the dataset is appended onto the drop down, users can select the Test Subject ID they want to view and the dashboard will dynamically updates according to the Test Subject ID selected. main dashboard

bubble chart

The Dashboard display when another Test Subject ID was selected. new data dashboard

See the site in action here or explore JavaScript codes

About

Utilizing Plotly to display bar, bubble and gauge chart on a Dynamic Dashboard

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published