Data visualization with ggplot2 part 3 | stacked bar plot| themes|R for data science book club

Data visualization with ggplot2 part 3 | stacked bar plot| themes|R for data science book club

Data Science with Yan

55 лет назад

303 Просмотров

Hello everyone,

This video is based on R for Data Science chapters 3.7-3.10. You may read chapters 3.7-3.10 through this link: https://r4ds.had.co.nz/

0:00 a basic bar plot
6:56 a bar plot using percentage values
9:02 color the bars
11:03 bar plot with information from two variables (stacked bars)
12:58 stacked bar plot with equal heights (percentages)
16:49 boxplot with two variables showing individual bars
18:11 side-by-side boxplot and fliped boxplot
21:34 adding professional themes to the ggplot2 graph
23:12 basic grammars of using ggplot2

Feel free to leave me a comment about any questions you have on this video, and any questions you have on the practice questions in the book. The R code in this video is available here: https://github.com/yz-DataScience/R-for-data-science/blob/main/R%20code%20for%20chapter%203%20part%203(1).R

You may find the playlist on R for data science book club here ( I have been recording the videos according to a popular book): https://youtube.com/playlist?list=PLKNR1HvYSio7IaKu2vGkNJ1_jGNYiJPmT

Part 1 of data visualization in this series is here: https://youtu.be/eulqVfhjniU
Part 2 of data visualization in this series is here: https://youtu.be/vw7-7oag8QM
Another video I made on ggplot2 is here: https://youtu.be/kaW6FmIcnkk in case you want to learn more.

You may set the video speed to 1.25 or 1.5 to make the video go faster by clicking the setting from the bottom right of the video, and set the speed to 1.25 or 1.5.

You need to install R and RStudio before you use RStudio. Follow this instruction here:
https://github.com/yz-DataScience/R-for-data-science/blob/main/R%20and%20RStudio%20Installation%20file.pdf
Ссылки и html тэги не поддерживаются


Комментарии: