Free Sample
+ Collection

Building Interactive Graphs with ggplot2 and Shiny [Video]

Christophe Ladroue

Build stunning graphics and interactive visuals for real-time data analysis and visualization with ggplot2 and Shiny
RRP $39.99

Want this title & more?

$21.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Video Details

ISBN 139781783284337
Course Length1 hour 51 minutes

About This Video

  • Generate complex interactive web pages using R and produce publication-ready graphics in a principled manner
  • Use aesthetics effectively to map your data into graphical elements
  • Customize your graphs according to your specific needs without wasting time on programming issues

Who This Video Is For

If you are a software programmer, application developer, or web developer with basic to intermediate knowledge of R programming and you want to build elegant graphs to display data that you can showcase to your clients, this course is for you. No knowledge of web technologies is required.

Table of Contents

Getting Started with ggplot2
Setting Up ggplot2
Understanding the Structure of a Plot
Mapping Data to Graphical Elements with Aesthetics
Understanding Some Subtleties with Aesthetics
Using ggplot2 in Scripts
Understanding Basic Plots
Drawing Lines
Drawing Paths
Bar Charts
Histograms and Density Plots
Using Boxplots
Using Conditional Plots
Using Group and Color
Using Size and Color
Over Plotting Many Points with Jitter
Faceting with One Variable
Faceting with Two Variables
Using Statistics in Our Plot
Linear Trends
Non-linear Trends
User-Defined Function
BigVis: Visualizing Big Data
BigVis: Smoothing Plots and Peeling Data
Customizing Your Graphs
Controlling the Axes
Ordering Variables
Customizing the Color Palette for Categorical Variables
Customizing the Color Palette for Continuous Variables
Customizing the Axes Labels and the Legends
Shiny – Part 1
Creating Interactive Web Pages with Shiny
Understanding the Structure of a Shiny App
Rendering Text
Understanding Reactive Programming
Using a Button to Avoid Frequent Updates
Shiny – Part 2
Creating and Using Tabs
Uploading a File
Downloading a File
Sharing Your Work
Putting Everything Together
Designing an Interactive Dashboard
Building a Time Series Plot
Making a Bubble Chart in ggplot2
Making Conditional Panels
Building the Dashboard

What You Will Learn

  • Create interactive web pages and combine elements to produce sophisticated graphs
  • Make basic statistical plots (lines, paths, bar plots, histograms, and boxplots) with ggplot 2
  • Combine graphical elements and put more information on your plots
  • Address big data by plotting summary plots very quickly
  • Customize your plots to your own style and requirements
  • Understand reactive programming in Shiny for building interactive web pages
  • Get to grips with scoping and make your code more efficient
  • Publish and share your work

In Detail

Ggplot2 is one of R’s most popular packages, and is an implementation of the grammar of graphics in R, which is a powerful tool for performing statistical analyses and drawing publication-quality graphics.

This course helps you move beyond the default graphics offered by R and shows you how to start making elegant and publication-ready plots. It equips you with a good command over ggplot 2 to build sophisticated and interactive graphs that suit your own data requirements.

This practical course shows you how to build statistical plots layer by layer by following along with the examples provided. You’ll first get familiar with the basics of ggplot2 by understanding the use of the building blocks of standard statistical plots and see how you can combine elements to make new graphics. Next, you’ll learn how to customize your graphs, and finally you’ll explore how to make interactive webpages to present your work or analyze your data.



Read More