All examples By author By category About

lorenzopub

Guess The Ratio

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: When the user submits their guess the real ratio and range of salary should be revealed.

forked from tlfrd's block: Guess The Ratio