So far in this book, we've mastered the basics of Shiny by building our own Gapminder data-explorer application, and we've looked at how to style and extend Shiny applications using HTML and CSS. In this chapter, we are going to extend our toolkit by learning about more of Shiny's UI functions. These allow you to take control of the fine details of the way your application looks and behaves.
In order to do this, we're going to change the way the UI works in the Gapminder application to make it more intuitive and well-featured. The finished code and data for this advanced Gapminder application can be found at https://chrisbeeley.net/website/.
In this chapter, we will cover the following topics:
- Using Shiny's many layout functions effectively
- Learning how to show and hide parts of the interface
- Changing the interface...