Javascript – Coloring Sankeyplot links based on source nodes – issue with (sankeyNetwork::colourScale)
I'm trying to assign colors to links within a Sankey diagram command in Rstudio. Specifically, I would like the links to be colored by their source node group (SOF_Data$Species_Binomial). The links and nodes already display properly, but when the command…