Converting treemap to ggplot
问题 The good news: I'm able to create a beautiful treemap using the treemap package. Data: forTm <- structure(list( UnitGroup = c("1N", "BHU", "CSU", "ED", "Med/Surg", "Med/Surg", "Telemetry", "Telemetry", "Telemetry", "Telemetry", "Telemetry"), Unit = c("A", "B", "C", "ED", "D", "E", "F", "G", "H", "I", "J"), Count = c(1L, 1L, 1L, 1L, 15L, 10L, 5L, 2L, 3L, 8L, 4L)), class = c("data.frame"), row.names = c(NA, -11L), .Names = c("UnitGroup", "Unit", "Count")) Treemap: library(treemap) tm <- treemap