Using d3-drag for an interactive "Make a guess" connected dot plot. As you move the dots along the line the colour also changes based on a colour scale. At the same time, the ratio between the different pay figures is visualised. Clicking reset returns the dots to their original positions.
forked from tlfrd's block: Draggable Connected Dot Plot
TODO:
https://d3js.org/d3.v4.min.js