BMI Tracker: WHO & Asia-Pacific

Rohith Mohan

2024-04-03

Introduction

This BMI calculator app is developed using R Shiny and utilizes two libraries: shiny and plotly.

  library(shiny)
  library(plotly)

Adjusting Height & Weight

sliderInput("cm",
            "Height in centimeters:",
            min = 100,
            max = 300,
            value = 172)
sliderInput("kg",
            "Mass in kilograms:",
            min = 20,
            max = 200,
            value = 68)

BMI Plots

output$bmiPlotWHO <- renderPlot({
  # For the full code, please refer to my GitHub account.
})

output$bmiPlotAsian <- renderPlot({
  # For the full code, please refer to my GitHub account.
})

BMI Scatterplot

output$bmiScatterplot <- renderPlotly({
  # For the full code, please refer to my GitHub account.
})