Creating Accessible Data Visualizations in R
Accessibility Lab created by Max Devon, Liza Dubinsky, and Laurie Baker
TidyTuesday and Data Viz Accessibility
Findings from Silvia and Liz’s Project
Today we’ll be covering
1. Accessibility Checklist
Writing Alt-text for Data Viz
Tip
Tip
Alt Text - Your Turn
I. Horizontal bar chart. Dominican Republic, Peru, Venezuela, and Ecuador are the top four countries responsible for the bean origin of 154, 115, 87, and 86 bars respectively. Bars are color-coded by continent, with most beans originating from the Americas (blue).
II. Horizontal bar chart of the number of chocolate bars manufactured in the U.S.A by country and continent of bean origin. Dominican Republic, Peru, Venezuela, and Ecuador are the top four countries responsible for the bean origin of 154, 115, 87, and 86 bars respectively. Bars are color-coded by continent, with most beans originating from the Americas (blue).
III. Horizontal bar chart of the number of chocolate bars manufactured in the U.S.A by country and continent of bean origin.
IV. Number of chocolate bars manufactured in the U.S.A by country and continent of bean origin. Dominican Republic, Peru, Venezuela, and Ecuador are the top four countries responsible for the bean origin of 154, 115, 87, and 86 bars respectively. Bars are color-coded by continent, with most beans originating from the Americas (blue).
Tip
Alt Text - Your Turn
I. Horizontal bar chart. Dominican Republic, Peru, Venezuela, and Ecuador are the top four countries responsible for the bean origin of 154, 115, 87, and 86 bars respectively. Bars are color-coded by continent, with most beans originating from the Americas (blue).
II. Horizontal bar chart of the number of chocolate bars manufactured in the U.S.A by country and continent of bean origin. Dominican Republic, Peru, Venezuela, and Ecuador are the top four countries responsible for the bean origin of 154, 115, 87, and 86 bars respectively. Bars are color-coded by continent, with most beans originating from the Americas (blue).
III. Horizontal bar chart of the number of chocolate bars manufactured in the U.S.A by country and continent of bean origin.
IV. Number of chocolate bars manufactured in the U.S.A by country and continent of bean origin. Dominican Republic, Peru, Venezuela, and Ecuador are the top four countries responsible for the bean origin of 154, 115, 87, and 86 bars respectively. Bars are color-coded by continent, with most beans originating from the Americas (blue).
Tip
Your Turn:
Practice Writing the Alt Text
Tip
Tell the audience about the problem through a story, ideally a person.
Tip
Your Turn:
Including Alt Text in R
```{r, fig.alt = “Include Alt Text.”}
```
Including Alt Text in R
```{r, fig.alt = c("Informative alt text for plot 1", "Informative alt text for plot 2")}
plot1
plot2
```
Two plots
Today we’ll be covering
Recap: Alt Text Checklist
Color blindness affects roughly 300 million people worldwide. CR Fereira highlights two important steps to improving your visualization
Steps to making your plots colorblind friendly
2. Colorblind friendly
Common accessible color schemes in R:
Your Turn:
Revisiting viridis
Add viridis layer to the penguin plot to make it accessible
Make your visualizations more accessible by including
4. Recap
Has the R community improved with TidyTuesday?
Resources
Alt text
Color Palettes
Thank you and a Survey!
Your Turn:
Adding patterns
Make the penguin plot accessible