2 years ago
#52575
Mumena
How to change the legend in a choropleth map to go from highest to lowest?
- My code:
qtm(merged_CLIH,fill = "X.6",
borders = "gray",
fill.style="quantile",
fill.breaks=c(0,10,20,30,40,100),
fill.palette="Purples",
fill.title="% children living in benefit claimant households")+
tm_compass(position = c("RIGHT","TOP"))+
tm_layout(legend.outside = TRUE,main.title = "Choropleth map of % Children living in benefit claimant households")
- Please find my current map just below:
r
tmap
0 Answers
Your Answer