|
Hey folks, I’m really excited to announce a new program to help you improve the design of your data visualizations. I emailed you about this earlier in the week, so I’ll keep this reminder brief. This data visualization makeover program will last 5 weeks starting at the beginning of September. Each two-hour session will include a discussion of data visualization principles and strategies followed by an opportunity to apply these ideas to your own visualizations. There will be no coding in this program. Why not? Well, I find that people get too hung up on tools. When they get frustrated with the tools they revert to their previous practices. By focusing on concepts, you’ll be able to design and critique any visualization. From there, you can use any tool - even a pencil and piece of paper - to implement your design. Click this button to learn more.
This week, I want to talk about a data visualization that I saw included in a presentation I was at earlier this week. This plot shows the discovery, first clinical use, and first report of resistance for 38 classes of antibiotics. This is Figure 3 of the article, “Derivation of a Precise and Consistent Timeline for Antibiotic Development” by Stennett, Back, and Race, which was published in the journal Antibiotcs. It’s in an open access journal, so be sure to read the whole thing. Conveniently, the data are provided in Table 1 although it’s caption says it’s for Figures 1 and 2 - it’s actually for Figures 2 and 3. What stands out about this figure? Well, it was published in 2022 and there hadn’t been any new classes of antibiotics come to the clinic in the previous 15 years. Also, resistance has been found to nearly every class of antibiotics. Yikes! Beyond those scary stories, what stands out about the design of the figure? First, the orange bars are the “development windows” indicating the time between the discovery and first clinical use. The blue bars are the “resistance windows” indicating the time between the first clinical use and finding resistance. I would likely create those bars using To pull this off, we’d need four columns: (1) the class of antibiotic, (2) whether the row was in the development or resistance window, (3) the initial year of the window, and (4) the final year of the window. To mark the start and end year of each window we’ll likely need to do some work with With The next challenge will be adding the class name to either the left or right side of the bars. I’d likely create Another interesting element of this figure is that the authors put the x-axis on the top and bottom of the plot. In my opinion, this design choice is odd. No doubt they wanted to make it easier for us to see the dates. But they made the size of the font so small that it’s pretty hard to read. I’d prefer including fewer year labels (maybe every 20 years?), but making the font size larger, and adding vertical gridlines. The larger font and gridlines should do a better job of making the dates easier to interpret. Finally, the authors used a serif font - Times? - in this figure. It looks pretty weird to my eye. The font of the text in the PDF version of the paper is also a serif font, but the font of the text in the HTML version is a sans serif font (WHY!?!). Thinking back to how I discovered this figure, I think it’s useful to know how to customize these types of figures for your own use so that the font and style choice doesn’t look weird when you include it in your own materials. What do you think of this figure? Feel free to email me back and let me know your thoughts!
|
Hey folks, It’s great to be back sending out this newsletter and posting videos! I hope you had a chance to check out the critique and livestream that I posted earlier this week. To be honest, I almost didn’t cover these figures because I truly strive to be constructive in this newsletter and in my content. Please feel free to email me if you think I should pull together a more formal description of the issues in the original paper to send to the authors before sending out to Nature...
Hey folks, It turns out that I sent out last week’s newsletter a week earlier than I should have. I had every intention of posting a critique video on Monday and doing a livestream on Wednesday. Alas, I didn’t totally have control of my schedule and neither video got up. Regardless, I’m glad I sent the newsletter out last week because it got me going. Inertia is a powerful thing. If we never start - even if it’s a false start - we will never get going. Rest assured that the videos will come...
Hey folks! I’m excited to be firing up the newsletter and YouTube feed again for the academic year. I hope you all had a great summer and were able to get a lot done while enjoying the opportunity to rest a bit. This summer I was able to finally resubmit and publish a manuscript I’ve been working on for a few years to rarefaction. This is now my third paper on rarefaction. Don’t worry, it’s the same story. If you are analyzing microbiome data, please use rarefaction. This paper raised a few...