Now, this was a tough one (or one of). As I go into more advanced courses, it becomes inevitably challenging to imbibe all codes demonstrated in the course. I created many data plots that I need to review with different datasets. Actually, I'm kinda excited to be having the time to create more and more numbers of pretty visualization this weekend.
Description: This ggplot2 course builds on your knowledge from the introductory course to produce meaningful explanatory plots. Statistics will be calculated on the fly and you’ll see how Coordinates and Facets aid in communication. You’ll also explore details of data visualization best practices with ggplot2 to help make sure you have a sound understanding of what works and why. By the end of the course, you’ll have all the tools needed to make a custom plotting function to explore a large data set, combining statistics and excellent visuals.
Credential: DataCamp
I had a paid DataCamp account provided by the PhD Hierarchical Linear Models course I took in Fall 2021 to complete this course.
This course is a data visualization skill improvement course for R language users.
Below are some of the visualizations I created during the course (brief code attached);
![](https://static.wixstatic.com/media/191fd6_a4b684624c3f4a059eed1538179bd0b7~mv2.png/v1/fill/w_692,h_398,al_c,q_85,enc_auto/191fd6_a4b684624c3f4a059eed1538179bd0b7~mv2.png)
library(lattice)
ggplot(barley, aes(x = year, y = yield, color = site, group = site, fill = site)) +
stat_summary(fun.y = mean, geom = "line") +
stat_summary(fun.data = mean_sdl, fun.args = list(mult = 1), geom = "ribbon", alpha = 0.1, color = NA)
![](https://static.wixstatic.com/media/191fd6_c8e1540b81ec4ab7886b923ebe093d3b~mv2.png/v1/fill/w_692,h_398,al_c,q_85,enc_auto/191fd6_c8e1540b81ec4ab7886b923ebe093d3b~mv2.png)
mtcars_mpg <- mtcars %>%
arrange(-mpg) %>%
mutate(car = as_factor(car))
ggplot(mtcars_mpg, aes(x = mpg, y = car, color = fam)) +
geom_point() +
facet_grid(rows = vars(gear), scales = "free_y", space = "free_y") +
labs(title = "Miles the 1973 Model Cars Run per Gallon", y = "Models", color = NULL, caption = "ordered by the number of gears")
![](https://static.wixstatic.com/media/191fd6_699697b7314c4cfc95debb87b3286b3c~mv2.png/v1/fill/w_610,h_398,al_c,q_85,enc_auto/191fd6_699697b7314c4cfc95debb87b3286b3c~mv2.png)
library(gapminder)
ggplot(gapminder, aes(x = 5, fill = continent)) +
geom_bar() +
coord_polar(theta = "y") +
scale_x_continuous(limit = c(4, 6)) +
theme_void()
My "Learning Machine Project" list can be found here >>> Showee's Learning Machine Project Certificates - Google Sheets. The list has information of all courses that I completed.
Commentaires