Giter VIP home page Giter VIP logo

belly-button-challenge's Introduction

Module 14 Interactive Dashboard Challenge

Chris Gruenhagen 4Jan2023

Homework Log

The Module 14 Challenge homework is located in the belly-button-challenge repository.
The Belly Button Biodiversity Dashboard is available at https://christygruen.github.io/belly-button-challenge/ .


Purpose

In this assignment, you 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.

Attribution

โ€˜Belly Button Biodiversity data provided byโ€™ http://robdunnlab.com/projects/belly-button-biodiversity/

Requirements

  1. Use the D3 library to read in samples.json.
  2. Create a horizontal bar chart with a dropdown menu to display the top 10 OTUs found in that individual.
  3. Create a bubble chart that displays each sample.
  4. Display the sample metadata, i.e., an individual's demographic information.
  5. Display each key-value pair from the metadata JSON object somewhere on the page Bonus: Create a gauge chart to plot the weekly washing frequency of the individual.
  6. Update all the plots when a new sample is selected.
  7. Deploy your app to a free static page hosting service, such as GitHub Pages.

๐Ÿ‘ฉโ€๐Ÿ”ฌ ๐Ÿ“Š ๐Ÿ“ˆ ๐Ÿ”ข ๐Ÿ‘ฉโ€๐Ÿ’ป๐Ÿ”ข ๐Ÿ“ˆ ๐Ÿ“Š ๐Ÿ‘ฉโ€๐Ÿ”ฌ

 emoji & format references:
    https://emojipedia.org
    https://commons.wikimedia.org/wiki/Emoji/Table
    https://www.markdownguide.org/basic-syntax/

See below for original homework instructions

Module 14 Interactive Dashboard Challenge

Due Jan 12, 2023 by 11:59pm

Points 100

Submitting a text entry box or a website url


Background

In this assignment, you will build an interactive dashboard to explore the Belly Button Biodiversity dataset 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.

Before You Begin

  1. Create a new repository for this project called belly-button-challenge. Do not add this Challenge to an existing repository.
  2. Clone the new repository to your computer.
  3. Inside your local git repository, copy the files from in the StarterCode folder contained within the Module 14 Challenge zip file. i.e. index.html, samples.json, and the static folder. NOTE: You will not be required to access the samples.json file locally, but it is provided for reference.
  4. Push the above changes to GitHub.
  5. Deploy the new repository to GitHub Pages.

Files

Download the following files to help you get started:

Module 14 Challenge files

Instructions

Complete the following steps:

  1. Use the D3 library to read in samples.json from the URL https://2u-data-curriculum-team.s3.amazonaws.com/dataviz-classroom/v1.1/14-Interactive-Web-Visualizations/02-Homework/samples.json.

  2. Create a horizontal bar chart with a dropdown menu to display the top 10 OTUs found in that individual.

    • Use sample_values as the values for the bar chart.
    • Use otu_ids as the labels for the bar chart.
    • Use otu_labels as the hovertext for the chart.

add bar Chart here

  1. Create a bubble chart that displays each sample.
    • Use otu_ids for the x values.
    • Use sample_values for the y values.
    • Use sample_values for the marker size.
    • Use otu_ids for the marker colors.
    • Use otu_labels for the text values.

add Bubble Chart here

  1. Display the sample metadata, i.e., an individual's demographic information.
  2. Display each key-value pair from the metadata JSON object somewhere on the page.

add demographic info screenshot here

  1. Update all the plots when a new sample is selected. Additionally, you are welcome to create any layout that you would like for your dashboard. An example dashboard is shown as follows:

add dashboard screenshot here

  1. Deploy your app to a free static page hosting service, such as GitHub Pages. Submit the links to your deployment and your GitHub repo. Ensure that your repository has regular commits and a thorough README.md file

Advanced Challenge Assignment (Optional with no extra points earning)

The following task is advanced and therefore optional.

  • Adapt the Gauge Chart from Plotly to plot the weekly washing frequency of the individual.
  • You will need to modify the example gauge code to account for values ranging from 0 through 9.
  • Update the chart whenever a new sample is selected.

Hints

  • Use console.log inside of your JavaScript code to see what your data looks like at each step.
  • Refer to the Plotly.js documentation https://plot.ly/javascript/ to an external site.when building the plots.

Requirements

Bar Chart (30 points)

  • Chart initializes without error (10 points)
  • Chart updates when a new sample is selected (5 points)
  • Chart uses Top 10 sample values as values (5 points)
  • Chart uses otu_ids as the labels (5 points)
  • Chart uses otu_labels as the tooltip (5 points)

Bubble Charts (40 points)

  • Chart initializes without error (10 points)
  • Chart updates when a new sample is selected (5 points)
  • Chart uses otu_ids for the x values (5 points)
  • Chart uses otu_ids for marker colors (5 points)
  • Chart uses sample_values for the y values (5 points)
  • Chart uses sample_values for the marker size (5 points)
  • Chart uses `otu_labels for text values (5 points)

Metadata and Deployment (30 points)

  • Metadata initializes without error (10 points)
  • Metadata updates when a new sample is selected (10 points)
  • App Successfully Deployed to Github Pages (10 points)

References

Hulcr, J. et al. (2012) A Jungle in There: Bacteria in Belly Buttons are Highly Diverse, but Predictable. Retrieved from: http://robdunnlab.com/projects/belly-button-biodiversity/results-and-data/

ยฉ 2023 edX Boot Camps LLC

Links to New Things I've learned: https://stackoverflow.com/questions/13239368/how-to-close-git-commit-editor

belly-button-challenge's People

Contributors

christygruen avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.