block by Kcnarf c6e9c98a55287e6cd03aae7080b9ec90

distance-limited Voronoi Interaction

Full Screen

This block is based on Step 3 - Voronoi Scatterplot - Tooltip attached to circle from @NadiehBremer

The Voronoi technics (used to improve interactive experience) is something I like. But I’m quite confused when the mouse is far away from points/subjectsOfMatter. In the original example, this situation arises in the viz’s top-left and bottom-right corners.

This block attempts to overcome this issue by:

For the sake of illustration, interactive areas appear in (very) light blue. Voronoï cells and interactive zones would not be rendered in the final viz.

The implementation in this block is javascript-based (cf. function ‘mousemoved’). Other ways could be:

Acknowledgments to: