This chart is my contribution to the september 2018 #SWDChallenge.
I wanted the chart to focus on rank shifts so I designed it this way:
Also, even if my first idea was to use a flow chart, it was more appealing and fun to use a circular flow chart :-) Many thanks to Nadieh Bremer for sharing How to create a Flow Diagram with a Circular Twist.
Finally, regarding the color palette, I first use a basic green/red, but @storywithdata immediatly noticed that it was not color-blindness friendly. I first didn't know how to modify the palette. @visualizingdata brought me the response I was looking for in its wonderfull blog five ways to design for red-green colour-blindness (I choose option #2).
https://d3js.org/d3-selection.v1.min.js
https://d3js.org/d3-color.v1.min.js
https://d3js.org/d3-array.v1.min.js
https://d3js.org/d3-path.v1.min.js
https://d3js.org/d3-shape.v1.min.js
https://d3js.org/d3-dispatch.v1.min.js
https://d3js.org/d3-ease.v1.min.js
https://d3js.org/d3-interpolate.v1.min.js
https://d3js.org/d3-timer.v1.min.js
https://d3js.org/d3-transition.v1.min.js
https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js