ggheatmap()
Published

August 7, 2025

Heatmap Pie

library(ggalign)
#> Loading required package: ggplot2
#> 
#> Attaching package: 'ggalign'
#> The following object is masked from 'package:ggplot2':
#> 
#>     element_polygon
set.seed(123)
ggheatmap(matrix(runif(360L), nrow = 20L), filling = NULL) +
    geom_pie(aes(angle = value * 360, fill = value))

For more complex customizations of pie charts, you can try using ggforce::geom_arc_bar() instead.