UI Development with Shiny [Video]

More Information
  • Add HTML to a Shiny application and how to write Shiny interfaces from scratch in HTML
  • Use built-in Shiny functions to produce attractive and flexible layouts of your own design
  • Produce dashboards in Shiny, adding icons, and notifications all by yourself.
  • Explore more about bootstrap themes, and how to use it to lay-out your own Shiny applications
  • Know more about UI Development with Shiny with hands-on examples

Although vanilla Shiny applications can look attractive with some layout flexibility, as you become more expert with Shiny you may want to have more control over how the interface is laid out. You may also wish to produce a dashboard.

You will start the section by producing an application based on the diamonds dataset included within the ggplot2 package. We will use the core single application but the interface will be reskinned and rebuilt throughout using different methods in order to illustrate their use and function. A further example will demonstrate the use of HTML templates. Next you will learn about producing dashboards in Shiny; here the core application will be reproduced as a dashboard. The UI will be rebuilt as a dashboard using the Shiny Dashboard package. Finally you will learn about laying out applications using the wide range of functions built-in to Shiny.

By the end of the course, you will have a wide understanding of the principles that underpin layout in Shiny applications right from bits of HTML added to a vanilla Shiny application, to HTML interfaces written from scratch, to dashboards, navigation bars, and interfaces made from scratch.

Style and Approach

You will progressively acquire skills in styling apps using a variety of methods with the use examples

  • Get acquainted in writing a Shiny interface in pure HTML
  • Dive deep into powerful Shiny layout functions, making attractive dashboards and other intuitive interfaces
  • Get introduced to bootstrap and how to leverage it in your Shiny applications
Course Length 1 hour 09 minutes
ISBN 9781788470780
Date Of Publication 8 Dec 2017


Chris Beeley

Chris Beeley has been using R and other open source software for ten years to better capture, analyze, and visualize data in the healthcare sector in the UK. He is the author of Web Application Development with R Using Shiny. He works full-time, developing software to store, collate, and present questionnaire data using open technologies (MySQL, PHP, R, and Shiny), with a particular emphasis on using the web and Shiny to produce simple and attractive data summaries. Chris is working hard to increase the use of R and Shiny, both within his own organization and throughout the rest of the healthcare sector, as well to enable his organization to better use a variety of other data science tools. Chris has also delivered talks about Shiny all over the country.