Bladeren bron

Change colours around

Petra Lamborn 3 jaren geleden
bovenliggende
commit
219c721e62
2 gewijzigde bestanden met toevoegingen van 4 en 4 verwijderingen
  1. 2
    2
      scratch.R
  2. 2
    2
      viz/extras.R

+ 2
- 2
scratch.R Bestand weergeven

@@ -90,8 +90,8 @@ work_simp %>%
90 90
     total = sum(ifelse(total < 0, 0, total)), .groups="drop"
91 91
   ) -> work_to
92 92
 
93
-tencols <-  c("#6a3d9a", "#1f78b4", "#b2df8a", "#33a02c", "#fb9a99", 
94
-              "#e31a1c", "#fdbf6f", "#ff7f00", "#cab2d6", "#a6cee3")
93
+tencols <-  c("#fb9a99", "#e31a1c", "#1f78b4", "#6a3d9a", "#b2df8a", 
94
+              "#33a02c", "#fdbf6f", "#ff7f00", "#cab2d6", "#a6cee3")
95 95
 tencols[which.max(work_from[1, 5:14])]
96 96
 
97 97
 

+ 2
- 2
viz/extras.R Bestand weergeven

@@ -132,8 +132,8 @@ again-data-visualisation-competition", "data visualisation competition",
132 132
     "selected, colouring is according to commutes to or from all ",
133 133
     "localities."),
134 134
   h4("FAQ"),
135
-  shiny::tags$blockquote("Why are so many areas purple (for 'works at ",
136
-                         "home')?"),
135
+  shiny::tags$blockquote("Why are so many areas marked as 'works at ",
136
+                         "home'?"),
137 137
   p("Working from home includes working from your kitchen table, ",
138 138
     "but also farming. Anyone who is employed but does not commute ",
139 139
     "is included in this category."),