Interactive Visualizations

screenshot of Interactive Visualizations

Belly Button Biodiversity

Overview:

The Belly Button Biodiversity is an interactive dashboard application that explores a dataset related to the percentage of specific bacteria found in patients' belly buttons. The application uses sqlalchemy and flask to create a database connection to sqlite. It utilizes pandas and jsonifies the data to perform SQL queries and fetch sample names. The application also incorporates d3 and Plotly to create visualizations such as pie charts and bubble charts.

Features:

  • Interactive Dashboard: The application provides an interactive dashboard that allows users to explore the Belly Button Biodiversity dataset.
  • Database Connection: The application makes use of sqlalchemy and flask to establish a connection to a sqlite database.
  • Data Visualization: The application utilizes d3 and Plotly to create visualizations such as pie charts and bubble charts.
  • Sample Metadata Route: The sample metadata route presents the selected sample and returns the jsonified data.
  • Top Bacteria Types: The pie chart created by the application includes the top 10 bacteria types within each sample, displaying their names, IDs, and percentages of the whole.
  • Bubble Chart: The application creates a bubble chart that displays all the present bacteria, with each represented by a different color. The marker size in the bubble chart is directly proportional to the amount of bacteria found in the sample.
  • Dropdown Select Element: The application provides a dropdown select element that allows users to select different samples and fetch new data each time a new sample is selected.

Summary:

The Belly Button Biodiversity interactive dashboard is a powerful tool that allows users to explore a dataset related to the percentage of specific bacteria found in patients' belly buttons. With features such as a database connection, data visualization options, and a dropdown select element, the application provides an interactive and informative experience. Users can easily navigate the dataset, view metadata for selected samples, and visualize the data using pie charts and bubble charts. The application is easy to install and offers a user-friendly interface for exploring and analyzing the Belly Button Biodiversity dataset.