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

Exercise

Good UI/UX practices and a warm-up

Sally wants to know if her portfolio is doing well, and so, you decide to build a dashboard for her.

Suppose there are only two stocks in her portfolio - Apple (AAPL) and Disney (DIS). The variables considered are open, high, low, close and volume (OHLCV).

The data have been stored as apple and disney. The helper functions are as follows:

  • get_name(): Get the name of each company
  • most_recent(): Get the most recent OHLCV values
  • most_recent_pct(): Get the most recent percentage changes in OHLCV
  • plot_line(): Plot the trend of OHLCV values with respect to date
  • box_color(): Get the color to be displayed, based on whether if the given value is positive (green), negative (red), or zero (blue)

You decide to beautify the interface, to help Sally navigate the dashboard easily.

Instructions 1/3

undefined XP
    1
    2
    3

Question

Which of the following practices should you avoid when building a dashboard?

Possible answers