ComeçarComece de graça

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.

Este exercício faz parte do curso

Building Dashboards with shinydashboard

Ver curso

Exercício interativo prático

Transforme a teoria em ação com um de nossos exercícios interativos

Começar o exercício