@afeierman this looks great, but it appears that the numbers in the second frame are out by a factor of 10. It might be worth checking with Jon about this.
Another thought is that it would be good to avoid transitioning by index. At the moment Japan becomes Brazil and changes colour as a result, which is a bit confusing.
Ah, scrap my first thought, I hadn't realised that it was low risk vs high risk. If none of the countries are the same then we definitely shouldn't be transitioning the bubbles. Something like this is probably a better fit https://observablehq.com/@d3/scatterplot-tour
Yea, the zoom in/out might be a better fit here, though there are some points that are aggregating between view 1 and 2. I changed it slightly-- points that update now immediately drop to radius 0 so that it looks like they disappear before sliding into their new position. It's not perfect but I think is doing a better job