econineq = sf::read_sf(system.file('extdata/econineq.gpkg',package = 'geocomplexity'))
gc = geocd_vector(econineq)
gc
library(ggplot2)
library(viridis)
ggplot(gc) +
geom_sf(aes(fill = GC_Gini)) +
scale_fill_viridis(option = "mako", direction = -1) +
theme_bw()
Run the code above in your browser using DataLab