This question can be considered to be an extension of Network chord diagram woes in R
Is it possible to change the colors of the links in the plot based on whether the node on which the cursor is set is a source node or a target node as done in the following example? https://bl.ocks.org/mbostock/7607999
I don’t intend to make the question more verbose by giving a reproducible example as the codes are already available in the links. Any help would be great.