Home > OS >  Make a circular Voronoi diagram in R
Make a circular Voronoi diagram in R

Time:04-09

I have a data frame that looks like this and I want to create a circular voronoi diagram with it

df <- data.frame(country = c("Ukraine", "Russia", "Argentina", "China", "Romania", "Other"),
                 prod = c(11.0, 10.6, 3.1, 2.4, 2.1, 15.3))

df
#>     country prod
#> 1   Ukraine 11.0
#> 2    Russia 10.6
#> 3 Argentina  3.1
#> 4     China  2.4
#> 5   Romania  2.1
#> 6     Other 15.3

Created on 2022-04-08 by the enter image description here

  • Related