ggalt: Dumbbell Plot to Show Change Between Two Points with ggplot2
The #ggalt package is a super-valuable #ggplot2 extension that adds extra geometries. In this tutorial, we use the geom_dumbbell() function for making Dumbbell Plots to visualize change within our data using ggplot. GET THE CODE SHOWN IN THE VIDEO: 📰 Free R-Tips Newsletter (FREE R GitHub Code Access): https://learn.business-science.io/r-tips-newsletter 📺 Set Up Your R-Tips Codebase (GitHub Video) https://youtu.be/F7aYV0RPyD0 Are you struggling to learn data science? Do you need to make a career transition? Would you like to make an impression with your organization? Then read on... 🚀 MY COURSES WILL SKYROCKET YOUR CAREER IN WEEKS: 🆓FREE R-TRACK MASTERCLASS: https://learn.business-science.io/free-rtrack-masterclass 📘 R for Business Analysis Course | DS4B 101-R (Learn ggplot2, dplyr, tidyverse, tidymodels, & rmarkdown) https://university.business-science.io/p/ds4b-101-r-business-analysis-r 📚The 5-Course R-Track Program (Full System, Beginner to Expert, 12-18 months FASTER than other online programs) https://university.business-science.io/p/5-course-bundle-machine-learning-web-apps-time-series/ TABLE OF CONTENTS 00:00 Introduction to ggalt & dumbbell plots. 00:50 Setup Github Project 01:21 Libraries: ggalt, tidyquant, tidyverse 01:32 Dataset: mpg 02:16 Data Wrangling: Pivoting Data | dplyr 03:24 Data Visualization: ggplot2 03:00 Base Plot 03:45 Basic Dumbbell Plot: geom_dumbbell() 04:45 Customizing the ggplot theme (Professional Plot) 05:20 Learn More! R-Track Program
Download
0 formatsNo download links available.