|
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, Did you miss me last week? Friday was the day after the US Thanksgiving holiday and I just couldn’t get everything done that I needed to. The result was an extra livestream on the figure I shared in the previous newsletter. If you haven’t had a chance to watch the three videos (one critique, a livestream, and another livestream) from that figure, I really encourage you to. In the first livestream I made an effort to simplify the panels as a set of facets. Towards the end a viewer...
Hey folks, Did you know that you can do statistics in R? HA! Of course it is. As the first sentence of its Wikipedia entry says, “R is a programming language for statistical computing and data visualization”. I rarely discuss using R for statistical analysis and focus far more attention on the data visualization power of R. This week, I’d like to share a set of panels from a figure in a paper recently published in Nature, “Lymph node environment drives FSP1 targetability in metastasizing...
Hey folks, I’ve really enjoyed the flow of combining these newsletters with a Monday critique video, a Wednesday recreation video, and occasionally a Friday remake video. A few weeks in, I feel pretty good about our ability to engage in constructive critiques. Of course, we have to train ourselves (myself included) to use those tools and not just resort to immediate and emotional responses - “I hate that plot”. We need to engage, get in the head of the original creator, and try to understand...