You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working on creating a sankey plot for large dataset but have found that my labels are overlapping, especially in the last stage. Is there anyway to utilize ggrepel with this package? Or is there a version this command for ggsankey? Thanks so much! I'll include what my plot code currently is below.
Hello!
I am working on creating a sankey plot for large dataset but have found that my labels are overlapping, especially in the last stage. Is there anyway to utilize ggrepel with this package? Or is there a version this command for ggsankey? Thanks so much! I'll include what my plot code currently is below.
ggplot(ggplot_data, aes(x = x, next_x = next_x, node = node, next_node = next_node, fill = factor(node), value = value, label = paste0(node))) + geom_sankey() + (geom_sankey_label(size = 0.5, color = "black", fill = "white", hjust = -0.1)) + scale_fill_discrete(drop=FALSE) + theme(legend.position = "none") + ggtitle("Sankey")
The text was updated successfully, but these errors were encountered: