You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -693,7 +695,9 @@ color the points according to their group and add a legend at the side of the
693
695
plot.
694
696
695
697
```{r 03-scatter-color-by-category, 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"}
696
-
ggplot(can_lang, aes(x = most_at_home_percent, y = mother_tongue_percent, color = category)) +
698
+
ggplot(can_lang, aes(x = most_at_home_percent,
699
+
y = mother_tongue_percent,
700
+
color = category)) +
697
701
geom_point() +
698
702
labs(x = "Language spoken most at home \n (percentage of Canadian residents)",
699
703
y = "Mother tongue \n (percentage of Canadian residents)") +
@@ -735,7 +739,8 @@ further improve the clarity and accessibility of your visualization.
735
739
```{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"}
736
740
ggplot(can_lang, aes(x = most_at_home_percent,
737
741
y = mother_tongue_percent,
738
-
color = category, shape = category)) +
742
+
color = category,
743
+
shape = category)) +
739
744
geom_point() +
740
745
labs(x = "Language spoken most at home \n (percentage of Canadian residents)",
741
746
y = "Mother tongue \n (percentage of Canadian residents)") +
0 commit comments