Browse Source

Change colours around

Petra Lamborn 3 years ago
parent
commit
219c721e62
2 changed files with 4 additions and 4 deletions
  1. 2
    2
      scratch.R
  2. 2
    2
      viz/extras.R

+ 2
- 2
scratch.R View File

90
     total = sum(ifelse(total < 0, 0, total)), .groups="drop"
90
     total = sum(ifelse(total < 0, 0, total)), .groups="drop"
91
   ) -> work_to
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
 tencols[which.max(work_from[1, 5:14])]
95
 tencols[which.max(work_from[1, 5:14])]
96
 
96
 
97
 
97
 

+ 2
- 2
viz/extras.R View File

132
     "selected, colouring is according to commutes to or from all ",
132
     "selected, colouring is according to commutes to or from all ",
133
     "localities."),
133
     "localities."),
134
   h4("FAQ"),
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
   p("Working from home includes working from your kitchen table, ",
137
   p("Working from home includes working from your kitchen table, ",
138
     "but also farming. Anyone who is employed but does not commute ",
138
     "but also farming. Anyone who is employed but does not commute ",
139
     "is included in this category."),
139
     "is included in this category."),