Special offers now — see discounted courses.
day
:
hour
:
min
:
sec
See special offers
R: Interactive Visualizations with htmlwidgets

R: Interactive Visualizations with htmlwidgets

5h 26mIntermediate2017-10-04

Authors

Charlie Joey Hadley

Charlie Joey Hadley

Technology and open data evangelist

Course details

Using the R language almost exclusively, htmlwidgets allow you to create the same interactive maps, charts, and graphs you see on popular data journalism sites and in BI dashboards. You can connect R to popular JavaScript libraries—such as Plotly and Leaflet—with htmlwidget packages. The interactive visualizations you create can be used in R Markdown reports and presentations, and even integrated into rich, responsive Shiny applications. This course introduces you to the fundamental skills needed to add htmlwidgets to your R workflow.

Start by learning to manage packages and structure data for visualizations with the tidyverse and the pipe operator. Then there is an important question: Which library should you choose? The course introduces five popular options: Leaflet, Plotly, Highcharter, visNetwork, and DataTables (DT). Instructor Martin Hadley shows how to use these libraries to create scattergeo, choropleth, and geolines maps; stacked bar charts, scatter charts, bubble charts, and heat maps; treemaps and time series charts; interactive networks and graphs; and responsive, interactive data tables. Plus, learn how to customize your visualizations with legends and tooltips, and extract click information for Shiny apps.

Learning objectives
Installing htmlwidgets
Selecting the best htmlwidget
Creating interactive maps with Leaflet
Creating interactive charts with Plotly and Highcharter
Creating interactive networks with visNetwork
Creating interactive tables with DT

Skills covered

RStatisticsData VisualizationProgramming LanguagesData ScienceBusiness Analysis and StrategyBusiness Software and ToolsOpen SourceSoftware DevelopmentDeep Dive (X:Y)

Concepts

0. Introduction

  • 01 - Welcome
  • 02 - What you should know
  • 03 - Exercise files

1. Getting Started with htmlwidgets

  • 04 - What are htmlwidgets
  • 05 - Where can you use htmlwidgets
  • 06 - Set up RStudio for htmlwidgets
  • 07 - Install htmlwidget libraries
  • 08 - Select the best htmlwidget
  • 09 - Use the pipe operator ( )
  • 10 - Prepare data to be tidy

2. Creating Interactive Maps with Leaflet

  • 11 - What is the Leaflet library
  • 12 - Create interactive scattergeo maps
  • 13 - Change map styles in Leaflet
  • 14 - Prepare data for a choropleth plot
  • 15 - Create interactive choropleth maps
  • 16 - Create interactive geolines maps
  • 17 - Add legends to Leaflet maps
  • 18 - Extract click information from Leaflet

3. Creating Interactive Charts with Plotly

  • 19 - What is the Plotly library
  • 20 - Make ggplot2 interactive using Plotly
  • 21 - Create interactive stacked bar charts
  • 22 - Interactive scatter, line, and bubble charts with Leaflet
  • 23 - Create interactive maps
  • 24 - Specify custom colors
  • 25 - Customize tooltips
  • 26 - Combine multiple charts
  • 27 - Extract click information from Plotly

4. Creating Interactive Charts with Highcharter

  • 28 - What is the Highcharter library
  • 29 - Create interactive stacked bar charts
  • 30 - Create interactive scatter charts and bubble charts
  • 31 - Create interactive time series
  • 32 - Create interactive treemaps
  • 33 - Create interactive choropleth maps
  • 34 - Specify your own colors
  • 35 - Modify tooltips in Highcharter
  • 36 - Extract click information from Highcharter

5. Creating Interactive Networks with visNetwork

  • 37 - What is the visNetwork library
  • 38 - Create basic network diagrams
  • 39 - Style visNetwork graph
  • 40 - Use visNetwork with igraph
  • 41 - Choose graph layouts and embeddings
  • 42 - Cluster nodes in visNetwork using groups
  • 43 - Add legends to visNetwork
  • 44 - Extract click information from visNetwork

6. Creating Interactive Tables

  • 45 - What is the DT library
  • 46 - Create interactive data tables with DT
  • 47 - Format columns and data
  • 48 - Design responsive (mobile-ready) tables
  • 49 - Allow users to download data
  • 50 - Extract click information from data tables

Conclusion

  • 51 - Next steps

Related courses

Related learn paths

About us

LyndaKade is a leading learning platform that helps people learn business, software, technology, and creative skills to achieve personal and professional goals.

Phone numberAparat ChannelTelegram SupportTelegram ChannelInstagram Page

All rights to this site belong to LyndaKade.

Terms of Service|Privacy Policy

نماد الکترونیک enamad در صورت اتصال با آی‌پی داخل کشور، نمایش داده خواهد شد.
logo-samandehi - لوگو ساماندهی
zarinpal
zibal