|
I feel like I’m in a bit of a rut with the content I’ve been posting the last few weeks. I critique a figure, go to recreate it and hopefully improve it, and am left thinking, “meh”. I’m unconvinced that my attempt to improve the figure is any better. Don’t worry, this doesn’t make me feel like a failure. That’s just the way it goes. Honestly, this is an important lesson in doing critiques. We have to have the humility to acknowledge that the original authors may have tried a few approaches and picked what they thought was the least bad option. We desire perfection. Because of that desire we get stuck doing nothing. We never win the Nobel Prize much less an Outstanding Dissertation Award or the admiration of our peers because we stare at a blank page and can’t get going. This has given rise to the idea of Anne Lamott’s “Sh*tty First Drafts”. There’s a parable told in the book Art & Fear by David Bayles and Ted Orland, which I’ve heard on numerous podcasts, that I think is related to this idea [A] ceramics teacher announced on opening day that he was dividing the class into two groups. All those on the left side of the studio, he said, would be graded solely on the quantity of work they produced, all those on the right solely on its quality. His procedure was simple: on the final day of class he would bring in his bathroom scales and weigh the work of the “quantity” group: fifty pound of pots rated an “A”, forty pounds a “B”, and so on. Those being graded on “quality”, however, needed to produce only one pot — albeit a perfect one — to get an “A”. Well, came grading time and a curious fact emerged: the works of highest quality were all produced by the group being graded for quantity. It seems that while the “quantity” group was busily churning out piles of work – and learning from their mistakes — the “quality” group had sat theorizing about perfection, and in the end had little more to show for their efforts than grandiose theories and a pile of dead clay. I lifted the text from Austin Kleon’s blog who points out that this parable has often been repeated with subtle variations. This is one of those anecdotes that has stuck with me because it affirms a prior belief. I haven’t looked hard enough for a scientific study because I’ve easily noticed it in my work. The same is true for Anne Lamott’s “Sh*tty First Drafts”. You need to turn a bunch of bad pots, write a lot of meandering text, and generate piles of ugly plots to find a good one. A few weeks ago, I presented figure with two panels and each panel had two y-axes. Data viz dogma states, “Thou shalt not have two y-axes; one is sufficient.” I also had a sentence from the paper summarizing what the authors wanted me to see in their figure. Pretty quickly I came up with 5 other ideas - including a plot with 3(!) y-axes - and proceeded to generate those in R during the livestream. A viewer suggested another approach that I didn’t get a chance to try out. My “radical” idea was to go from two facets to three with each having the same x-axis and one y-axis. The most important facet I put in the middle to make it easier to vertically scan to the upper and lower facets to see if they were correlated. This was pretty meh, but it was “the right way”. I felt it was hard to interpret because although one variable was well correlated the other well anti-correlated with disease counts, the data were still messy. To help tie the facets together and highlight the observation that disease counts were higher in cold months, I added blue stripes to the background indicating the cold months. Ehhh… Ultimately, I think what we needed was the temperature data, another facet and … two y-axes. I have four takeaways from this experience and others like it:
Ok, now it’s time to put these takeaways to practice. I’ve been looking for Sankey plots where the data are available to share with you all. I finally found one in a paper published in the paper, “Prophylactic treatment with broadly neutralizing antibody VRC01 selects for escape mutants after infection in Antibody-Mediated Prevention trials” from the journal Nature Microbiology. Can you think of how you would make this in R? What do you think of the plot? What are other ways you’d try to visualize the data? I asked the authors of this paper why they went with this visual rather than a heatmap or some other type of plot. One of the co-authors, Alaine Marsden, got back to me: We really wanted an intuitive visual way to represent the viral toggling etc present in the data. Originally tried circos plots but they weren’t very clear. I know it’s perhaps not the best implementation of an alluvial/sankey plot since we don’t have any scaling of strata or multi flow connections where the plots can really shine. Here’s a final takeaway. We cannot short-circuit the process. I suppose we can, but then we’re probably guaranteed to generate slop. For me, the process of iterating, learning, and being part of a community are as important (more?) than getting the “perfect” figure. How about you?
|
This newsletter is coming out the day after Thanksgiving in the US. I hope it doesn’t come off as trite, but I want you all to know how grateful I am for the engagement you all have offered me through this newsletter and on YouTube. Over the years I have really come to appreciate the creation of data visualization and reproducible workflows as a form of craftsmanship. At a time when that is valued less and less, I am grateful that I have found an audience who values developing their own...
Hey folks, Last week I mentioned a scene that I recently read from the book Underworld by Don DeLillo. Some of you were kind enough to tell me that I botched the link to the scene. Let’s try that again :) This mistake is apropos of something I’ve been thinking a lot about lately. It seems we’re obsessed with being perfect. Or at least projecting ourselves as perfect. Have you noticed how everyone in the past few years has suddenly been convinced that their writing sucks and that they need to...
Hey folks, As I mentioned last week, I’m considering jumping platforms to use Substack to disseminate these newsletters and try to build more interactivity between you all and me. Because of how different email providers process emails, it’s become very difficult to have any confidence in how many people read these emails and who all is interacting with the content. Since I pay by the subscriber I’m likely paying for subscribers who may never open the emails (although their email provider...