Skip to main content

Building Web Applications with Shiny in R

Shiny is an R package that makes it easy to build interactive web apps directly in R, allowing your team to explore your data as dashboards or visualizations.

Start Course for Free
4 Hours16 Videos61 Exercises18,450 Learners5050 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

Shiny is an R package that makes it easy to build highly interactive web apps directly in R. Using Shiny, data scientists can create interactive web apps that allow your team to dive in and explore your data as dashboards or visualizations. If you want to bring your data to life, Shiny is the way to go! Using data about baby names, food ingredients, and UFO sightings, you'll build a variety of different Shiny apps that leverage different inputs and outputs. You’ll also learn the basics of reactive expressions. By the end of this course, you’ll have the Shiny skills you need to build your first app in R.

  1. 1

    Get Started with Shiny


    To kick off the course you'll learn what a web app is and when you should build one, plus build a few apps of your own! You'll first learn to make text inputs and outputs in a few ways, including exploring the popularity of certain names over time.

    Play Chapter Now
    Introduction to Shiny
    50 xp
    Client vs. Server
    50 xp
    When to build a web-app?
    100 xp
    Build a "Hello, world" Shiny app
    50 xp
    Build a "Hello, world" Shiny app (2)
    100 xp
    "Hello, World" app input (UI)
    100 xp
    "Hello, World" app output (UI/Server)
    100 xp
    Build a babynames explorer Shiny app
    50 xp
    Add input (UI)
    100 xp
    Add output (UI/Server)
    100 xp
    Update layout (UI)
    100 xp
    Update output (server)
    100 xp
  2. 2

    Inputs, Outputs, and Layouts

    In this chapter you will learn how to take advantage of different input and output options in shiny. You''ll learn the syntax for taking inputs from users and rendering different kinds of outputs, including text, plots, and tables.

    Play Chapter Now
  3. 4

    Build Shiny Apps

    It’s time to build your own Shiny apps. You’ll make several apps from scratch, including one that allows you to gather insights from the Mental Health in Tech Survey and another that uses recipe ingredients as its input to accurately categorize different cuisines of the world. Along the way, you’ll also learn about more advanced input and output widgets, such as input validation, word clouds, and interactive maps.

    Play Chapter Now

In the following tracks

Shiny Fundamentals


maggiematsuiMaggie MatsuianneleenAnneleen Beckers
kaelen medeiros Headshot

kaelen medeiros

Data Scientist

Kaelen is a data scientist and an admin for the R-Ladies Global community. Kaelen received a MS in Biostatistics from Louisiana State University Health Sciences Center, where they worked at the Louisiana Tumor Registry. Before DataCamp, they designed experiments (and more!) for the American College of Surgeons, HERE Technologies, and HealthLabs. If you meet them, you will undoubtedly hear about their cat, Scully, within the first 3 minutes. Other favorite topics include aliens, popcorn, podcasts, and nail polish.
See More
Ramnath Vaidyanathan Headshot

Ramnath Vaidyanathan

VP of Product Research at DataCamp

Ramnath Vaidyanathan is the VP of Product Research at DataCamp, where he drives product innovation and data-driven development. He has 10+ years experience doing statistical modeling, machine learning, optimization, retail analytics, and interactive visualizations. He brings a unique perspective to product development, having worked in diverse industries like management consulting, academia, and enterprise softwares. Prior to joining DataCamp, he worked as a data scientist at Alteryx, leading the roadmap for interactive visualizations and dashboards for predictive analytics. Prior to Alteryx, he was an Assistant Professor of Operations Management in the Desautels Faculty of Management at McGill University. His research primarily focused on the application of predictive analytics and optimization methodologies to improve operational decisions in retailing. He got his Ph.D. in Operations Management from the Wharton School.
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