|
Hey folks! I posted two videos last week! On Monday I posted a video critiquing the diverging bar plot that I described in this newsletter last Friday. My goal in this video was to think through a “constructive” approach to interpreting and critiquing data visualizations. As scientists, I think we are too worried about hurting each other’s feelings. So we don’t critique each other. At the same time, many of us think before we speak and can come off overly harsh. My goal is to create a framework where we can think and then speak and accept feedback as coming from someone that wants us to be trying to improve. Alas, not many people watched the critique video! Those who watched it and commented were pretty positive about it. So, it would be great to get more views, shares, and comments to help the algorithm offer those types of videos to people. Monday’s video was about 30 minutes long. I’d love to get them to be about 15-20 minutes. On Wednesday I posted a livestream where I did my best to recreate the plot in R with ggplot2. I’d love to get into this cadence of posting content for you all. If you have a plot you’d like to see me critique and recreate, please send it my way. This week, I have a version of a figure that John Taylor sent my way. This comes from an article in the Financial Times. John sent me a dark mode version of what the FT published on their site. I’m going to try to recreate the “light” mode version. Maybe you all could take it as a challenge to make that dark version on your own: Since I’ll present the critique on Monday, let’s focus on how I’d plan on doing this in R. First off, what is it? It’s a line plot where each line represents a different year. The y-axis is the percent change in the US Dollar Index for the year leading up to September 18th. The data for 2025 is shown in red. To generate the plot, we’re going to need data. We’re told in the lower right corner that the source is “LSEG, FT calculations”. I’ve learned not to go back to the reporter for data. I’ve never gotten anything by that approach! What is LSEG? From their website, I learned, “LSEG is a leading global financial infrastructure and data provider. We play a vital social and economic role in the world’s financial system.” Eh. I’m not sure how I’ll get data out of them either. Let’s try googling “US Dollar Index”. Voilà! Clicking on the link for yahoo! finance we can see the US Dollar Index is an ETF that people can invest in. This reminds me of a newsletter and video from a while back where I recreated a plot showing the change in the S&P500 over the first months of the current Trump administration. I was able to get the S&P500 data using the To generate the lines, I’d use something like Now to style it. First, is the red line. I’d make a dummy variable like… Second, the right-hand margin has three years indicated, 1991, 2013, and 2025. I do not know why those years were selected. They certainly aren’t the years I would have selected. Regardless, we want to recreate the figure. I’d first use Finally, the plot has some nice horizontal lines to help orient the viewer. They have horizontal grid lines under the data which is easy enough to do using the Along the way there’s some other styling we might think about like the font (perhaps Libre Franklin or Noto Sans, neither gets the “1” right) and the FT logo in the bottom left corner. Let me know what you think!
|
Hey folks, It has been great to see the high level of engagement with my weekly critique videos on YouTube. I have really enjoyed making them and have learned a lot about current practices in data visualization. The one problem with these videos is that they’re a bit like an autopsy. We can figure out what went well or what didn’t work in a published figure. But we can’t do much to improve the published figure. What if we could do critiques before submitting our papers, preparing a...
Hey folks, This week I want to share with you a figure that resembles many a type of figure that I see in a lot of genomics papers. I’d consider it a data visualization meme - kind of like how you’re “required” to have a stacked bar plot if you’re doing microbiome research or a dynamite plot if you’re publishing in Nature :) This figure was included in the paper, “Impact of intensive control on malaria population genomics under elimination settings in Southeast Asia” that was published...
Hey folks! I hope you enjoyed last week’s series on the radial volcano plot (newsletter, critique video, livestream). I think it did a good job of illustrating the various reasons I think it’s valuable to recreate figures, even if we don’t like how they display the data. Something I didn’t really emphasize in last week’s newsletter was that by recreating a figure, we can make sure that the data are legit. I’m surprised by the number of signals I’ve been finding where authors using tools like...