Skip to main content

Case Studies: Building Web Applications with Shiny in R

Practice your Shiny skills while building some fun Shiny apps for real-life scenarios!

Start Course for Free
4 Hours16 Videos59 Exercises15,656 Learners4850 XPShiny Fundamentals Track

Create Your Free Account



By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA. You confirm you are at least 16 years old (13 if you are an authorized Classrooms user).

Loved by learners at thousands of companies

Course Description

After learning the basics of using Shiny to build web applications, this course takes you to the next level by putting your newly acquired skills into practice. You'll get experience developing fun and realistic Shiny apps for different common use cases, such as using Shiny to explore a dataset, generate a customized plot, and even create a word cloud. With all this practice and new knowledge, you will be well-equipped to develop Shiny apps for your own use.

  1. 1

    Shiny review


    In the first chapter, you'll review the essentials of Shiny development. You'll get reintroduced to the basic structure of a Shiny application, as well as some core Shiny concepts such as inputs, outputs, and reactivity. Completing this chapter will help refresh your Shiny knowledge and ensure you have the required skills to develop Shiny apps for real-life scenarios.

    Play Chapter Now
    50 xp
    Simple text
    100 xp
    Formatted text
    100 xp
    Adding structure to your app
    100 xp
    Inputs and outputs
    50 xp
    Adding inputs
    100 xp
    Adding placeholders for outputs
    100 xp
    Constructing output objects
    100 xp
    Reactivity 101
    50 xp
    Reactivity: simple reactive variable
    50 xp
    Reactivity: composed reactive variable
    50 xp
    Reactive contexts
    100 xp
  2. 2

    Make the perfect plot using Shiny

    Imagine you're preparing a figure for a manuscript using R. You spend a lot of time recreating the same plot over and over again by rerunning the same code but changing small parameters each time. The size of the points, the color of the points, the plot title, the data shown on the plot—these criteria all have to be just right before publishing the figure. To save you from the hassle of rerunning the code many times, you will learn how to create a Shiny app to make a customizable plot.

    Play Chapter Now
  3. 3

    Explore a dataset interactively with Shiny

    Let’s say your supervisor is impressed by the plot you created with Shiny and now wants to get familiar with the dataset you used in the plot. They don't want to simply have a raw data file, they want an interactive environment where they can view the data, filter it, and download it. This chapter will guide you in creating such an application—a Shiny app for exploring the Gapminder dataset.

    Play Chapter Now
  4. 4

    Create your own word cloud in Shiny

    Your friend really likes word clouds and has written an R function to generate them. They want to share this function with all their friends, but not all of them know how to use R. You offer to help by building a Shiny app that uses their function to let people create their own word clouds. This will allow all their friends—even the ones who are unfamiliar with R—to generate word clouds using a point-and-click interface. This chapter will guide you through the steps required to build this app.

    Play Chapter Now

In the following tracks

Shiny Fundamentals


richieRichie Cotton
Dean Attali Headshot

Dean Attali

Founder & Lead R-Shiny Consultant at AttaliTech Ltd

Dean is an R-Shiny consultant with years of experience as a software engineer at Google, IBM, and various startups. He is the author of several R packages, including shinyjs, timevis, and ggExtra, as well as the author of a popular R-Shiny blog . Dean holds a MSc in Bioinformatics (U of British Columbia) and a Bachelors of Computer Science (U of Waterloo).
See More

What do other learners have to say?

I've used other sites—Coursera, Udacity, things like that—but DataCamp's been the one that I've stuck with.

Devon Edwards Joseph
Lloyds Banking Group

DataCamp is the top resource I recommend for learning data science.

Louis Maiden
Harvard Business School

DataCamp is by far my favorite website to learn from.

Ronald Bowers
Decision Science Analytics, USAA