Transition (Sankey) plot with time on x axis
问题 I have a transition matrix as following: 1. A A B 2. B C A 3. A C C where each column represents periods,each row represents an agent and each letter represents a state. I would like a create a plot such as Sankey Diagram which shows transitions from states to states in each period. Agents' identities are not important. So I would like to have a plot like this: . It seems that I can use networkD3 or googleVis packages. However since the position of each node is endogenously determined by the