Recreating a beeswarm plot
December 13, 2024This week I recreated a beeswarm plot from Univision on the age of U.S. senators and the aging of the chamber. Amaya Verde y Javier Figueroa participated in its creation.
Warning: Data may be inaccurate compared to the source.Recreation
Highlights
This is the first beeswarm plot I visualize during the challenge. It's one of my favorite plots, especially when used with d3.force. In my Scrollytelling projects with Svelte, a beeswarm is always included.
- It was a challenging redesign, with a lot of trial and error. At first, it was difficult to replicate the position of the nodes, but I managed to adjust the force well
- This is the first time I cannot complete the redesign by Wednesday. I had a rough week and had to hold off for two days
- The most complicated thing, which I didn't even manage to do as I wanted and ended up giving up, was the arrows. I still find it difficult to use the paths: M371,260 C351,240 350,240 330,240 (?)...