A short description of the post.
Check it out. Here’s an amazing plot, with ggplot2.
library(ggplot2)
ggplot(mpg, aes(displ, cty)) +
geom_point(color = "gray70") +
geom_smooth() +
theme_minimal()
This was produced with the following data (note, only first six rows shown).
library(gt)
mpg %>%
head() %>%
gt()
manufacturer | model | displ | year | cyl | trans | drv | cty | hwy | fl | class |
---|---|---|---|---|---|---|---|---|---|---|
audi | a4 | 1.8 | 1999 | 4 | auto(l5) | f | 18 | 29 | p | compact |
audi | a4 | 1.8 | 1999 | 4 | manual(m5) | f | 21 | 29 | p | compact |
audi | a4 | 2.0 | 2008 | 4 | manual(m6) | f | 20 | 31 | p | compact |
audi | a4 | 2.0 | 2008 | 4 | auto(av) | f | 21 | 30 | p | compact |
audi | a4 | 2.8 | 1999 | 6 | auto(l5) | f | 16 | 26 | p | compact |
audi | a4 | 2.8 | 1999 | 6 | manual(m5) | f | 18 | 26 | p | compact |
For attribution, please cite this work as
Anderson (2020, Feb. 24). The amazing world of data viz: My first awesome blog post. Retrieved from https://datalorax.github.io/class-website-ex/posts/2020-02-24-my-first-awesome-blog-post/
BibTeX citation
@misc{anderson2020my, author = {Anderson, Daniel}, title = {The amazing world of data viz: My first awesome blog post}, url = {https://datalorax.github.io/class-website-ex/posts/2020-02-24-my-first-awesome-blog-post/}, year = {2020} }