Graph all the things
analyzing all the things you forgot to wonder about
I got curious about the evolutionary history of the fruits we commonly eat. How long ago did they branch off? Which ones are more similar to others? Does genetic similarity correlate with nutritional similarity? (Only slightly.) Are there fruits that diverged through domestication, other than obvious cases like apple varieties? (I couldn't find any.) And are those people who call watermelons "berries" actually basing it on science? (No.)
In the diagram, you can select a subset of fruits to see how long ago they diverged. Sorry for the weird time scale - a linear scale left no detail for the recent past, and a log scale left no detail for the distant past, so I went with a square root scale.
A few fun facts:
Minor note about the visualization: I decided to try doing everything in pure React this time rather than d3.
It was a bit easier to code, but the responsiveness is lacking since I'm relying on
There are ways I could get around this, but I'm pretty sure they're all more complicated than using d3.
I find the buttons particularly infurating because of the delay between mouse enter and its reaction.
But no, I'm not going to spend time improving it.
I frequently referred to onezoom (which I highly recommend exploring) and Wikipedia when collecting this data. I compiled the chronology data from a few papers:
Note that I couldn't get an precise year every single bifurcation. In one or two cases, I couldn't even find a rough number and had to make my own inferences based on the genetic difference data. I originally hoped that finding all the years would be easier, but I'm actually glad it was challenging. Through my struggle, I learned about how these studies work.