Visualization
A Gentle Guide to the Grammar of Graphics with ggplot2💯
What is this?
Slides and code from workshop by Garrick. This presentation was part of a 5 day Workshop on data analysis using R by the American Statistical Association, University of South Florida Chapter (for this workshop links visit the learning R page.
- Link to slides here: https://pkg.garrickadenbuie.com/gentle-ggplot2/#1
- Link to code here: https://github.com/gadenbuie/gentle-ggplot2/
A ggplot2 grammar guide💯
Added Mon Sep 14th, 2020
What is this?
This guide isn’t comprehensive, and it will likely continue to evolve. But it’s at a place that it might be useful to orient you, a colleague, or a student to ggplot2 and extensions.
- Link to site here: https://evamaerey.github.io/ggplot2_grammar_guide/about
A ggplot2 Tutorial for Beautiful Plotting in R💯
By Cédric
Added Mon Sep 14th, 2020.
What is this?
Wonderful introductory tutorial to ggplot2 and the wonderful things you could do with it.
Align the assignment operators within a highlighted area
What is this?
Technically not a visualization resource but once you use it on your script, it is so pleasant to look at (at least for me).
- Link to animations here: https://github.com/seasmith/AlignAssign
Alternatives to Simple Color Legends in ggplot2
By Meghan Hall
Added Sat Dec 12th, 2021
What is this?
Excerpt from post: Legends, or the way aesthetic values are mapped to data, are an essential part of plots, and this post introduces a few different options for labeling colors effectively.
- Link to post here: https://meghan.rbind.io/blog/color-legend/
An Introduction to Hierarchical Modeling
What is this?
This project was built by Michael Freeman, a faculty member at the University of Washington Information School.
- All code for this project is on GitHub here: https://github.com/mkfreeman/hierarchical-models/
Advanced data visualization with R and ggplot2 a practical
By Yan Holtz
What is this?
Excerpt from site: It allows to go further with ggplot2: annotation, theme customization, color palette, output formats, scales, and more.
An introduction to cowplot
By Meghan Hall
Added Sat Dec 11, 2021
What is this?
Excerpt from site: “This week’s #TidyTuesday data set is all about lemurs (with data from the Duke Lemur Center), so I figured I would stick with the animal theme and discuss a few functions from Claus Wilke’s cowplot package, which is my personal favorite package for arranging plots made in R”.
- Post and course here: https://meghan.rbind.io/blog/cowplot/
Astonishingly easy mapping in R with mapview
Added Mon Apr 24, 2023
What is this?
Excerpt from site: TCreate interactive maps of GIS data with tooltips, hover text, and legends in one short and simple line of code. Plus get extras like side-by-side sliders and multiple maps in sync.
Basic usage of tidycensus–a vignette
What is this?
Excerpt from vignette: There are two major functions implemented in tidycensus: get_decennial, which grants access to the 1990, 2000, and 2010 decennial US Census APIs, and get_acs, which grants access to the 5-year American Community Survey APIs.
- Link to vignette here: https://walker-data.com/tidycensus/articles/basic-usage.html
Calendar plot in R using ggplot2
What is this?
Excerpt from site: The calendR package allows creating fully customizable ggplot2 calendar plots with a single function. In addition, the package provides arguments to create heatmap calendars. In this tutorial you will learn how to create ready to print yearly and monthly calendar plots in R.
- Link to blog here: https://r-coder.com/calendar-plot-r/
- Link to package here: https://cran.r-project.org/web/packages/calendR/
colorblindr
By Claire D. McWhite & Claus O. Wilke
What is this?
Simulate colorblindness in production-ready R figures. 💯
- Link to repo here: https://github.com/clauswilke/colorblindr
- Link to the simulator: http://hclwizard.org/cvdemulator/
colorblindcheck
What is this?
Deciding if a color palette is a colorblind-friendly is a hard task. This cannot be done in an entirely automatic fashion, as the decision needs to be confirmed by visual judgments. The goal of colorblindcheck is to provide tools to decide if the selected color palette is colorblind-friendly.
- Link to repo: https://github.com/Nowosad/colorblindcheck
corrmorant: Flexible Correlation Matrices Based on ggplot2
Added Jun 6th, 2021
What is this?
Excerpt from site: corrmorant extends ggplot2 by an automated framework for plots of correlation matrices that can be easily modified via regular ggplot2 syntax. In addition, it provides a large set of visualization tools for exploratory data analysis based on correlation matrices.
- Link to package here: https://github.com/r-link/corrmorant
Crazy graphs
What is this?
Awesome crazy graph!!
- Link to site here: https://paulvanderlaken.com/2018/08/27/xenographics-unusual-charts-and-maps/
Create a ggalluvial plot in R
By SAROJ
Added Sun May 28th, 2023
What is this?
Excerpt from blog: A ggalluvial plot, also known as an alluvial diagram, is a type of visualization used to show how categorical data is distributed among different groups. It is particularly useful for visualizing how categorical variables are related to each other across different levels of a grouping variable.
- Link to blog here: https://pyoflife.com/create-a-ggalluvial-plot-in-r/
Create stylish tables in R using formattable
By Laura Ellis
What is this?
Blog that uses formattable to crate pretty tables.
- Link to blog here: https://www.littlemissdata.com/blog/prettytables
- Link to repo here: https://github.com/lgellis/MiscTutorial/tree/master/Austin
Crime Mapping in R
By Juanjo Medina & Reka Solymosi
What is this?
Excerpt from site: This workbook contains the lab materials and homework assignments for an introduction to crime mapping course designed for LAWS31152 and 60142 Crime Mapping, an optional module open to 3rd year undergraduates on the BA Criminology programme as well as postgraduates on the MA and MRes Criminology programmes at the University of Manchester.
- Link to web-book here: https://maczokni.github.io/crimemapping_textbook_bookdown/
Data Visualization: A practical introduction
By Kieran Healy
What is this?
Excerpt from site: This book is a hands-on introduction to the principles and practice of looking at and presenting data using R and ggplot. R is a powerful, widely used, and freely available programming language for data analysis. You may be interested in exploring ggplot after having used R before, or be entirely new to both R and ggplot and just want to graph your data. I do not assume you have any prior knowledge of R.
- Free web-book here: https://socviz.co/index.html#preface
- Buy book here: Link to Amazon
Data Visualization course
By Andrew Heiss
What is this?
Excerpt from site: In this class, you’ll learn how to use industry-standard graphic and data design techniques to create beautiful, understandable visualizations and uncover truth in data.
By the end of this course, you will become (1) literate in data and graphic design principles, and (2) an ethical data communicator, by producing beautiful, powerful, and clear visualizations of your own data.
- E-course here: https://datavizm20.classes.andrewheiss.com/syllabus/
Data Visualization for Educational Data Science💯
Added Thu Dec 31st, 2020
What is this?
Welcome to the second course in the Educational Data Science Specialization taught at the University of Oregon through the College of Education. This course will be taught through R, a free and open-source statistical computing environment, and will provide students with the foundational principles and practice of data visualization, particularly as applied to scientific and technical data. We will have weekly lectures, covering a wide variety of topics including human perception, color theory, and principles of visual design. We will also cover mediums for communication across diverse audiences with an emphasis on different web applications. Weekly hands-on laboratory sessions provide students the opportunity to put the lecture material into practice.
- Link to site here: https://dataviz-2021.netlify.app/
- Link to repo here: https://github.com/uo-datasci-specialization/c2-dataviz-2021
Data visualisation using R, for researchers who don’t use R💯
Added Fri Feb 18th, 2022
What is this?
Excerpt from site: In this tutorial, we provide a practical introduction to data visualisation using R, specifically aimed at researchers who have little to no prior experience of using R. First we detail the rationale for using R for data visualisation and introduce the “grammar of graphics” that underlies data visualisation using the ggplot2 package. The tutorial then walks the reader through how to replicate plots that are commonly available in point-and-click software such as histograms and boxplots, as well as showing how the code for these “basic” plots can be easily extended to less commonly available options such as violin-boxplots.
- Link to site here: https://psyteachr.github.io/introdataviz/
- Link to dataset here: https://osf.io/bj83f/
- Link to published manuscript here: https://journals.sagepub.com/doi/10.1177/25152459221074654
Designing ggplots making clear figures that communicate
What is this?
Wonderful slides to make your figures and visualization much clear and communicative. I visit it quite often.
- Slides here: https://designing-ggplots.netlify.app/#1
Drawing Anything with ggplot
Added Thursday Nov 5, 2020
What is this?
Excerpt from repo: This repository collects material for a ~4 hour workshop first taught at celebRation2020 in Copenhagen.
- Link to repo here: https://github.com/thomasp85/ggplot2_workshop
- Link to youtube video Part1: https://www.youtube.com/watch?v=h29g21z0a68
- Link to youtube video Part2: https://www.youtube.com/watch?v=0m4yywqNPVY
Educational Apps for ggplot2
Added Mon Apr 24th, 2023
What is this?
Excerpt from site: A list of educational apps that make it easy to create data visualizations in ggplot2. 1. Link to all apps here: https://ggplot2tor.com/apps 1. Link to Aesthetics finder here: https://ggplot2tor.com/aesthetics 1. Link to Scales finder here: https://ggplot2tor.com/scales 1. Link to Theme finder: https://ggplot2tor.com/theme
esquisse add-in
Added Feb 2nd, 2022
What is this?
Excerpt from site: This addin allows you to interactively explore your data by visualizing it with the ggplot2 package. It allows you to draw bar plots, curves, scatter plots, histograms, boxplot and sf objects, then export the graph or retrieve the code to reproduce the graph.
See online documentation: https://dreamrs.github.io/esquisse/index.html
- Link to package here: https://github.com/dreamRs/esquisse
First steps in spatial handling and visualization
By Sébastien Rochette, Dorris Scott, & Jakub Nowosad
What is this?
Excerpt from tutorial: The tutorial is designed for R users from a variety of fields who are interested in working with spatial data and creating maps with R. No knowledge of cartography is required. Prior knowledge of (non-spatial) graphic making and data handling with the {tidyverse} in R is recommended.
- Link to tutorial video here: https://youtu.be/1Hp8MO82t4g
- Link to github repo here: https://github.com/statnmap/user2020_rspatial_tutorial
Geocomputation with R
By Robin Lovelace, Jakub Nowosad, Jannes Muenchow
What is this?
Excerpt from ebook: This book is about using the power of computers to do things with geographic data. It teaches a range of spatial skills, including: reading, writing and manipulating geographic data; making static and interactive maps; applying geocomputation to solve real-world problems; and modeling geographic phenomena.
I added this one here because it is a nice resource to make map but it teaches way more than that :)
- Link to free ebook: https://geocompr.robinlovelace.net/
- You can buy the book from CRC Press,Wordery, or Amazon.
ggeasy 💯
What is this?
This package makes using ggplot2 way much easier. Check it out.
- Link to package’s site here: https://jonocarroll.github.io/ggeasy/
geomtextpath
Added Sat Dec 11th, 2021
What is this?
Excerpt from site: “The existing text-based geom layers in ggplot2 (geom_text and geom_label) are ideal for the majority of plots, since typically textual annotations are short, straight and in line with the axes of the plot. However, there are some occasions when it is useful to have text follow a curved path. This may be to create or recreate a specific visual effect, or it may be to label a circular / polar plot in a more”natural” way.”
- Link to package’s site here: https://github.com/AllanCameron/geomtextpath
ggplot Wizardry: My Favorite Tricks and Secrets for Beautiful Plots in R
What is this?
Excerpt from site: In this talk, I present my favorite tips and tricks with regard to the ggplot2 package, a library for plotting in the programming language R. I will cover functions that are helpful but many may not be aware of as well as a collection of interesting functions from a large range of extension packages. The talk is intended for people who already know how to code in R and ggplot2. However, I am going to cover a diverse collection of tips so I hope everyone can pick something helpful independent from their level of expertise.
- Link to repo is here: https://github.com/Z3tt/OutlierConf2021
- Link to Slides here: https://cutt.ly/Yxbo2QY
- Link to Recording here: https://cutt.ly/YxboC3n
- Link to Tutorial here: https://cutt.ly/Gxbpu61
- Link to Codes here: https://cutt.ly/TxbpcDV
- Link to Extended Slides here: https://www.cedricscherer.com/slides/useR-2021_ggplot-wizardry-extended.pdf
ggplot2: Elegant Graphics for Data Analysis💯 💯
What is this?
Excerpt from site: This is the online version of work-in-progress 3rd edition of “ggplot2: elegant graphics for data analysis”
- Web-book link here: https://ggplot2-book.org/
Ggplot2tor
Added Mon Apr 24th, 2023
What is this?
Excerpt from site: This webpage provides you with a step by step guide on how to make them. Each plot is explained in detail and allows you to create the data visualizations that you would like to design.
- Link to site here: https://ggplot2tutor.com
ggsignif: Significance Brackets for ‘ggplot2’
Added Sat Dec 12th, 2021
What is this?
Excerpt from site: “This package provides an easy way to indicate if two groups are significantly different. Commonly this is shown by a bar on top connecting the groups of interest which itself is annotated with the level of significance (NS, , , ). The package provides a single layer (geom_signif) that takes the groups for comparison and the test (t.test, wilcox etc.) and adds the annotation to the plot”.
- Link to package and Github repo here: https://github.com/const-ae/ggsignif
ggupset
Added Sun June 6th, 2021
What is this? Excerpt from site: Plot a combination matrix instead of the standard x-axis and create UpSet plots with ggplot2.
- Link to site here: https://github.com/const-ae/ggupset
How to pick more beautiful colors for your data visualizations💯 💯
What is this?
Excerpt from blog: Choosing good colors for your charts is hard. This article tries to make it easier.
I want you to feel more confident in your color choices. And if you have no sense for colors at all, here’s my attempt to help you find good ones anyway. We’ll talk about common color mistakes I see out there in the wild, and how to avoid them.
This is not the right article for you if you’re trying to find good gradients or shades. But if you need to find beautiful, distinctive colors for different categories (e.g. continents, industries, bird species) for your line charts, pie charts, stacked bar charts, etc., read on.
- Link to blog here: https://blog.datawrapper.de/beautifulcolors/
How to Increase Legend Key Size in ggplot2
By datavizpyr
Added Fri Apr 14th, 2023
What is this?
Excerpt from article: In this tutorial, we will learn how to increase the color legend’s point (or legend key) size in ggplot2. Often when you make a plot with multiple groups and large number of data points, the legend key for the color variable are small and can be not legible in the plot.
Here we will see examples of increasing the point size of the legend in a scatter plot using guides() function in ggplot2.
- Link to article here: https://datavizpyr.com/increase-legend-key-size-in-ggplot2/
How To R: Visualizing Distributions
By Nick Martin
Added Mon May 29th, 2023
What is this?
Excerpt from blog: Distributions are a very important thing to understand during any EDA process. In this article we will look into multiple different ways to visualize distributions and how to create those visuals in R.
How to visualize models Part 1 | multiple linear models, all assumptions & post-hocs💯
Added Thu Dec 31st, 2020
What is this?
Excerpt from video description: In this video, we’ll visualize in RStudio the results and coefficients of:
- simple linear models with categorical predictor
- simple linear models with numeric predictor
- multiple linear models with numeric and categorical predictors &
- multiple linear models with interactions
- Link to video demo here: https://www.youtube.com/watch?v=BNTn_f43U04&feature=youtu.be
Image sizes in an R markdown document
Added Fri Apr 23rd, 2021
What is this?
Excerpt from site: This is part four of our four-part series
Part 1: Specifying the correct figure dimension in {knitr} (this post).
Part 2: What image format should you use for graphics.
Part 3: Including external graphics in your document.
Part 4: Setting default {knitr} options.
- Link to site here: https://www.jumpingrivers.com/blog/knitr-rmarkdown-image-size/.be
Improving ggplots with Text Color
By Eric Ekholm
Added Sun Jun 6th, 2021
What is this?
Excerpt from site: instead of having a legend off to the right or the bottom or wherever it is you typically place your legends, I’ve changed the font color of the words “Pass” and “Fail” in the title to contain this same information. We can do this using Claus Wilke’s invaluable {ggtext} package, which provides improved rendering for ggplot2.
- Link to article here: https://www.ericekholm.com/posts/2021-03-24-improving-ggplots-with-text-color/
Interactive web-based data visualization with R, plotly, and shiny
Added Mon Sep 14th, 2020
What is this?
This is the website for “Interactive web-based data visualization with R, plotly, and shiny”. In this book, you’ll gain insight and practical skills for creating interactive and dynamic web graphics for data analysis from R. It makes heavy use of plotly for rendering graphics, but you’ll also learn about other R packages that augment a data science workflow, such as the tidyverse and shiny.
- Link to ebook here: https://plotly-r.com/
Introduction to Dataviz in R UKCLC Pre-Conference Workshop
What is this?
During the UKCLC 2020 Dr. Lauren Ackerman gave a preconference workshop on data visualization using R.
- Link to rmd material here: https://verbingnouns.github.io/notebooks/UKCLC2020.nb.html#1_Welcome_to_Dataviz
Introduction to Geospatial Visualization with R-R-Ladies Abuja + Abuja R Users
By Rami Krispin
Added Sun Dec 12, 2021
What is this?
Excerpt from site: Introduction to spatial data - Working with sf objects - Plot sf objects with mapview, tmap, and ggplot2 - Create choropleth maps
- Link to github repo. andcode here: https://github.com/RamiKrispin/gis-dataviz-workshop
- Link to slides here: https://ramikrispin.github.io/gis-dataviz-workshop/#1
Introducing {ggflowchart}
Added Mon May 29, 2023
What is this?
Excerpt from site: Flowcharts can be a useful way to visualise complex processes, and the new R package {ggflowchart} makes them easy to create in R. This blog post shows you how. Back in April 2022, I participated in the #30DayChartChallenge and for the Storytelling prompt on day 29 in the Uncertainty category, I created the Goldilocks Decision Tree. I also gave a talk to R-Ladies Nairobi on the challenge and used the flowchart as a live-coding example. A summary of the talk ended up as a blog post.
- Link to blog here: https://nrennie.rbind.io/blog/introducing-ggflowchart/
Introduction to rbokeh–a vignette
What is this?
Excerpt from vignette: Bokeh is a visualization library that provides a flexible and powerful declarative framework for creating web-based plots. Bokeh renders plots using HTML canvas and provides many mechanisms for interactivity. Bokeh has interfaces in Python, Scala, Julia, and now R. The Bokeh library is written and maintained by the Bokeh Core Team consisting of several members of Continuum Analytics and other members of the open source community. The rbokeh package is written and maintained by Ryan Hafen (@hafenstats) with several contributions from others.
- Link to blog here: https://hafen.github.io/rbokeh/articles/rbokeh.html
Introduction to Tableau
By Meghan Hall
Added Dec 11, 2021
What is this?
Excerpt from blog: “A bunch of people have been asking me for some kind of Tableau tutorial, so I’m experimenting with a screencast video on YouTube! The video should be embedded below and is also available here.”
- Link to blog here: https://meghan.rbind.io/blog/introduction-to-tableau/
- Link to video here: https://www.youtube.com/watch?v=fN7vAfeN0_E&feature=youtu.be
Leaflet for R–a vignette
What is this?
Excerpt from vignette: Leaflet is one of the most popular open-source JavaScript libraries for interactive maps. It’s used by websites ranging from The New York Times and The Washington Post to GitHub and Flickr, as well as GIS specialists like OpenStreetMap, Mapbox, and CartoDB. This R package makes it easy to integrate and control Leaflet maps in R.
- Link to vignette here: https://rstudio.github.io/leaflet/
Making Flipbooks
What is this?
Intro to what Flipbooks are and how to make them in R.
- Link to website: https://evamaerey.github.io/flipbooks/about
MetBrewer Palettes
Added Fri Feb 18, 2022
What is this?
Excerpt from site: “Palettes inspired by works at the Metropolitan Museum of Art in New York. All pieces selected come from various time periods, regions, and mediums. Let me know if you have any requests for a particular piece.
Structure of the package was based on coding from the PNWColors and wesanderson packages. Inspired by the package RColorBrewer from the work of Cynthia Brewer.”
- Link to repo here: https://github.com/BlakeRMills/MetBrewer/tree/main
Modify components of a theme
What is this?
Excerpt from site: Themes are a powerful way to customize the non-data components of your plots: i.e. titles, labels, fonts, background, gridlines, and legends. Themes can be used to give plots a consistent customized look. Modify a single plot’s theme using theme(); see theme_update() if you want modify the active theme, to affect all subsequent plots. Use the themes available in complete themes if you would like to use a complete theme such as theme_bw(), theme_minimal(), and more.
- Link to site here: https://ggplot2.tidyverse.org/reference/theme.html
My first interactive map with {leaflet}
Added Sun Dec 12, 2021
What is this?
Excerpt from site: “In this post, I will try to create an interactive map using leaflet package in R.”
- Link to site here: https://tengkuhanis.netlify.app/post/my-first-interactive-map-with-leaflet/
Penn MUSA Masterclass: 3D Mapping and Visualization with R
By Rayshader & Tyler Morgan-Wall
What is this?
Tutorial to create 3d maps using R.
- Link to repo here: https://github.com/tylermorganwall/MusaMasterclass
Plotly R Open Source Graphing Library 💯
What is this?
Excerpt from the site: Plotly’s R graphing library makes interactive, publication-quality graphs. Examples of how to make line plots, scatter plots, area charts, bar charts, error bars, box plots, histograms, heatmaps, subplots, multiple-axes, and 3D (WebGL based) charts. Plotly.R is free and open source and you can view the source, report issues or contribute on GitHub.
- Link to site: https://plotly.com/r/
Plotting ‘timeSeries’ Objects
By Diethelm Wurtz and Tobias Setz
What it is this
Excerpt from vignette: The Rmetrics timeDate and timeSeries packages are workhorses to deal with chronological objects.
Principles & Practice of Data Visualization
By Alison Hill
What is this?
Excerpt from site: This is the site for sharing our Data Visualization Labs for CS631 at Oregon Health & Science University. It has exercises and solutions! 💯
- Link to the workshop here: https://apreshill.github.io/data-vis-labs-2018/index.html
R Graphics Cookbook, 2nd edition
What is this?
Excerpt from ebook: a practical guide that provides more than 150 recipes to help you generate high-quality graphs quickly, without having to comb through all the details of R’s graphing systems. Each recipe tackles a specific problem with a solution you can apply to your own project, and includes a discussion of how and why the recipe works.
- Link to free ebook here: https://r-graphics.org/
- Link to buy it: Amazon link
R graphics with ggplot2 workshop notes
Added Mon Sep 14th, 2020
What is this?
Workshop listed in Harvard’s resources. Materials can be downloaded.
- Link to workshop notes: http://tutorials.iq.harvard.edu/R/Rgraphics/Rgraphics.html#geometric_objects_and_aesthetics
- Link to download materials here: http://tutorials.iq.harvard.edu/R/Rgraphics.zip
R you ready to make charts?
By Will Chase
Added Mon Sep 14th, 2020
What is this? Slides from Talk given by Will Chase at a Philly dataviz meetup on May 29th, 2019.
- Link to slides: https://www.williamrchase.com/slides/ggplot_intro.html#1
Raincloud vignette 💯💯💯
Added Fri Apr 14th, 2023
What is this?
Excerpt from article: Here we describe a data visualization approach which overcomes these issues, providing maximal statistical information while preserving the desired ‘inference at a glance’ nature of barplots and other similar visualization devices. These “raincloud plots” can visualize raw data, probability density, and key summary statistics such as median, mean, and relevant confidence intervals in an appealing and flexible format with minimal redundancy. In this tutorial paper, we provide basic demonstrations of the strength of raincloud plots and similar approaches, outline potential modifications for their optimal use, and provide open-source code for their streamlined implementation in R, Python and Matlab (https://github.com/RainCloudPlots/RainCloudPlots).
- Link to vignette: https://cran.r-project.org/web/packages/ggrain/vignettes/ggrain.html
- Link to article: https://wellcomeopenresearch.org/articles/4-63
Resizing plots
What is this?
How to resize plots in R markdown
Schilling Data Studio
Added Sun April 30th, 2023
What is this?
Excerpt from the channel: From data dread to impactful insights - data visualization tutorials for clearly communicating data.
Welcome to Schilling Data Studio! We’re here to support your data visualization needs. If you feel overwhelmed by data or don’t know how to create fabulous, impactful data visualizations, you’re in the right place. Our video tutorials and quick tips will help you enhance your data visualizations so you can provide clear insights and make an impact with your data!
- Link to YouTube channel: https://www.youtube.com/@schillingdata/videos
The Evolution of a ggplot (Ep. 1)
By Cédric
What is this?
Excerpt from the blog: In this series of blog posts, I aim to show you how to turn a default ggplot into a plot that visualizes information in an appealing and easily understandable way. The goal of each blog post is to provide a step-by-step tutorial explaining how my visualization have evolved from a typical basic ggplot. All plots are going to be created with 100% {ggplot2} and 0% Inkscape.
The grobblR package to make graph for PDF docs
What is this?
Excerpt from read.me: The grobblR package allows R users the ability to intuitively create flexible, reproducible PDF reports comprised of aesthetically pleasing tables, images, plots and/or text. This is done by implementing grobs from the grid and gridExtra packages.
- Link to repo: https://github.com/calvinmfloyd/grobblR
The magick package: Advanced Image-Processing in R
What is this?
Excerpt from Vignette: The new magick package is an ambitious effort to modernize and simplify high-quality image processing in R. It wraps the ImageMagick STL which is perhaps the most comprehensive open-source image processing library available today.
- Link to vignette here: https://cran.r-project.org/web/packages/magick/vignettes/intro.html#Installing_magick
Teaching material: Data analytics and visualization
By Yan Holtz
What is this?
Wonderful site to give you and intro to ggplot and even github! Check it out!!!
- Website here: https://www.yan-holtz.com/teaching
The R Graph Gallery
Added Sep 14th, 2020
What is this?
R graph gallery, a collection of charts made with the R programming language. Hundreds of charts are displayed in several sections, always with their reproducible code available. The gallery makes a focus on the tidyverse and ggplot2. Feel free to suggest a chart or report a bug; any feedback is highly welcome.
- Link to gallery here: https://www.r-graph-gallery.com/
- Link to twitter here: https://twitter.com/R_Graph_Gallery
- Link to repo here: https://github.com/holtzy/R-graph-gallery
TidyX YouTube channel hosted
By Ellis Hughes & Patrick Ward
What is this?
Excerpt from channel: TidyX is a screen cast where we select a person’s code from the TidyTuesday project and go through their code line-by-line, explaining what they did and how the functions they used work. We also break down the visualizations they create and talk about how to apply similar approaches to other data sets. The objective is to help more people learn R and get involved in the TidyTuesday community.
- Link to YouTube channel here: https://www.youtube.com/channel/UCP8l94xtoemCH_GxByvTuFQ/featured
Visualization innovations: Waffleplots and Swarmplots
What is this?
Fun blog about how to make Waffleplots and swarmplots.
- Link to blog here: https://paulvanderlaken.com/2019/01/25/visualization-innovation-waffleplots-and-swarmplots-aka-beeplots/
Visualize Spatial Data using ‘roughjs’
By David Schoch
Added Fri April 28th, 2023
What is this?
Excerpt from Package: Draw maps using the ‘javascript’ library ‘roughjs’. This allows to draw sketchy, handdrawn-like maps.
- Link to blog here: https://cran.r-project.org/web/packages/roughsf/roughsf.pdf
Visualizing Spatial Data
What is this?
Here is a list of resources to create visualizations with maps
- https://www.r-spatial.org/r/2018/10/25/ggplot2-sf-2.html
- https://rstudio.github.io/leaflet/projections.html
- https://www.r-graph-gallery.com/278-the-maps-library.html
- http://www.milanor.net/blog/maps-in-r-introduction-drawing-the-map-of-europe/
- https://www.youtube.com/watch?v=wgFVmzSbaQc&list=PL7D2RMSmRO9JOvPC1gbA8Mc3azvSfm8Vv&index=17
- https://www.tidyverse.org/blog/2022/06/spatialsample-0-2-0/
- https://www.infoworld.com/article/3644848/astonishingly-easy-mapping-in-r-with-mapview.html
- https://geobgu.xyz/presentations/p_2021_cbs/main.html
- https://r-spatial.github.io/sf/
- https://cran.r-project.org/web/packages/tmap/vignettes/tmap-getstarted.html
- https://timogrossenbacher.ch/2016/12/beautiful-thematic-maps-with-ggplot2-only/
- https://statnmap.com/2018-04-18-draw-maps-like-paintings/
- https://medium.com/appsilon-data-science/r-ggmap-how-to-visualize-spatial-data-in-r-c46dcf970095
- https://carolinamendozab.medium.com/mapping-income-per-capita-by-countries-in-r-using-world-bank-data-cf42eca247c4
Videos for data visualization
By Sharon Machlis
What is this?
Here is a list of video tutorial by Sharon by categories:
Palettes
PNWColors: A Pacific Northwest inspired R color palette package 💯
NatParksPalettes: is comprised of 30 color palettes, including 12 colorblind-friendly palettes, based on photos of national parks from around the world. Compatible with {ggplot2} in R and QGIS.
nationalparkcolors: The goal of nationalparkcolors is to provide an interface to the beautiful colors in National Park posters and images. The posters are a mix of the WPA originals and more modern remakes.