Recreating a
scatter plot
Octuber 2, 2024
This week I recreated a scatter plot from El País on the results of the Venezuelan presidential elections. Kiko Llaneras, Daniele Grasso, and Luis Sevillano Pires participated in its creation.
Warning: Data may be inaccurate compared to the source.Recreation
Edmundo González
Nicolás Maduro
Highlights
The scatter plot is the one I have been able to visualize the most. However, I have never had the opportunity to create so many interactions in one. There was even more than one obstacle that I couldn't overcome.
- I was glad to have the original dataset on hand and to be able to build a Python script to get a JSON with the structure I needed.
- As common as it may be, I had never had the opportunity to create a grid. It took quite a while to get all the lines to have the same stroke and opacity.
- To identify the selected element in a visualization I have used colors, size, opacity, or a tooltip, but I have never had the opportunity to do it with an external circle. I thought it was genius.
- It isn't the first time that I have used the Voronoi diagram, but I have never done one like this: one with a limited range. Although I'll try to recreate it, I was unable to get a result that I was satisfied with. I would dare to say that the solution was this.