# NOT RUN {
library(ggplot2)
tabularmap(jpn77, x, y, group = jis_code, label = prefecture, size = 3)
tabularmap(jpn77, x, y, group = jis_code, fill = region, label = prefecture, size = 3) +
theme_tabularmap() +
scale_fill_jpregion(lang = "en")
tabularmap(data.frame(
id = letters[seq.int(9)],
x = rep(c(1,2,3), each = 3),
y = rep(c(1,2,3), times = 3),
fill = seq.int(9),
label = letters[seq.int(9)]),
x, y,
group = id,
fill = fill,
label = label,
.expand_size = 20, .radius_size = 10)
tabularmap(iso3166, x, y, group = iso2c,
fill = continent,
label = iso2c,
.expand_size = 5) +
theme_tabularmap() +
guides(fill = FALSE)
# }
Run the code above in your browser using DataLab