Animated sorted bar chart with bars overtaking each other
Edit: added spline interpolation for smoother transitions, without making rank changes happen too fast. Code at bottom. I’ve adapted an answer of mine to a related question. I like to use geom_tile for animated bars, since it allows you to slide positions. I worked on this prior to your addition of data, but as it … Read more