...

/

Fixing the Voronoi Diagram

Fixing the Voronoi Diagram

By moving the events to the Voronoi diagram, the selections will be changed. We'll need to update the selections to fix the chart.

In this lecture, we are going to fix a problem with the Voronoi diagram. If we hover our mouse over any of the dots, the tooltip appears. That is great, but we have lost the effect we had on the circles. The circles remain the same color and size. It is not clear as to which dot the reader is hovering over. This can become even more difficult to read if we are hovering over dots clustered close together.

We can fix this problem by drawing another circle. We will draw a circle over the original circle. The newly drawn circle will be enlarged with its color change. As before, when the reader hovers away from the dot, the newly drawn dot will be removed. ...

Access this course and 1400+ top-rated courses and projects.