1. Learn
  2. /
  3. Courses
  4. /
  5. Creating Dashboards with shinydashboard

Exercise

Create a value box for the maximum impact

Let's add another value box for the maximum log total impact energy. The variable in the nasa_fireball data frame corresponding to this is impact_e. The nasa_fireball data frame is again already loaded.

Instructions

100 XP
  • Find the maximum impact and save it as an object called max_impact_e.
  • Create a value box with the value equal to max_impact_e, subtitle "Maximum impact energy (kilotons of TNT)", and the "star" icon.
  • Rerun the shiny dashboard to view your work.