Skip to content

Commit 91a2eea

Browse files
setting shape in canlang viz
1 parent 92287ec commit 91a2eea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

viz.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -727,7 +727,7 @@ visual redundancy—i.e., conveying the same information with both scatter p
727727
further improve the clarity and accessibility of your visualization.
728728
729729
```{r scatter-color-by-category-palette, fig.width=7.75, fig.height=4, warning=FALSE, fig.cap = "Scatter plot of percentage of Canadians reporting a language as their mother tongue vs the primary language at home colored by language category with color-blind friendly colors"}
730-
ggplot(can_lang, aes(x = most_at_home_percent, y = mother_tongue_percent, color = category)) +
730+
ggplot(can_lang, aes(x = most_at_home_percent, y = mother_tongue_percent, color = category, shape = category)) +
731731
geom_point() +
732732
labs(x = "Language spoken most at home \n (percentage of Canadian residents)",
733733
y = "Mother tongue \n (percentage of Canadian residents)") +

0 commit comments

Comments
 (0)