Hey folks, I hope you’ve noticed that this newsletter and the YouTube channel have nearly caught up. At this point there’s a 10-day lag between when I post a newsletter describing a data visualization and when I post the recreation video. I could possibly push that to a 3-day lag, but I’d like people to have a chance to work through the code on their own before I give my solution. After having existential dread last week that I’d never find another good plot to share, it appears my cup runneth over :) I’m pretty excited to share what I’ve been collecting! As I mentioned about a month ago, many in the US are bracing themselves for the prospect of Robert Kennedy serving as Secretary of the Health and Human Services. He’s been an outspoken opponent of vaccines. Combined with what many feel is an increase in “anti-vax” sentiment, there are fears that old diseases like measles, polio, or whooping cough might make a comeback. This week, Francesca Paris, a data reporter at the New York Times published an article about vaccination rates across the US and how they’ve been falling since the “COVID-times”. Here’s the first graph in her article. The take home message from this figure is that vaccination levels for measles, polio, and whooping cough hovered around 95% until the pandemic started. Then the rates declined. I’m sure there are many reasons why this happened and the article shares a few. For my family, I know it was nearly impossible to get our kids into the doctor’s office for well-child visits. Then no one was alerting us it was ok to come back. Then our providers dropped us because they hadn’t seen us in too long. Our story wasn’t unique. Combined with anti-science political winds around the COVID vaccine, it was a perfect storm for declining rates of vaccination. Line plots are common in many fields and I was excited to see an attractive line plot that told an interesting story. What do you think of the plot? I’m repeating myself, but I really like the aesthetics of the NYT data journalism products. They’re very easy on the eyes. They use color for emphasis. The landmarks for the figure often fade into the background. There are good annotations telling you what is going on. This one is no exception. If you want to try to recreate this figure or any of the figures the article, you can get the raw data from the CDC as an MS Excel Spreadsheet through their website. A few things stood out to me about this figure. First, it’s a line plot. We could draw the lines mapping the school year to the x-axis, the national vaccination rate to the y-axis, and color to the disease being vaccinated against and create the line with Second, instead of a separate legend, they label the lines directly. The labels for each of the diseases being vaccinated against are near the ends of the lines and are the same color as the line. Because the end of the lines for measles and polio are overlapping, they moved measles up and included a line with a 90-degree turn in it to label its line. I think all of this is pretty slick. I’d likely create the labels using Third, in typical NYT fashion, they don’t have a y-axis line and they have the y-axis values on the corresponding grid line with the unit for the axis next to the top number (e.g., 95%). Something we could debate is that the range goes from 91 to 95% rather than from 0 to 95 or 100%. By narrowing the range, we see the important small changes in the data. The downside is that we lose the sense that the changes are quite small albeit in the same direction. An alternative would be to instead have a y-axis indicating the difference from the “Federal Measles Target”. Then we’d have an axis from about -3.0 to 0.5. That might be too abstract for a lay audience. But if you’re a “must include zero purist”, that’s how I would do it. We’ve seen how to create our own y-axis using Fourth, I really like how they have indicated the target level of vaccination. Again, all the grid lines are a light gray color that really blends into the background. But the line at 95% is solid and black. That the label is in all capital letters drives home the message that this is the desired threshold. Because one line is different from the others, I’d likely create the black line using Finally, earlier this week I posted a video recreating a bar plot from another NYT article. The “Libre Franklin” sans serifs font is still on my mind and I’d like another try at using If you scroll further down the article, you’ll see a few other plots are included. Which is your favorite? Which would you most like me to make a video of? Reply to this email and let me know! For now, I’m leaning towards recreating this figure. We’ve done several of this type of plot in the past, but this has some unique features. See if you can think through how to recreate this figure on your own!
|
Hey folks, I’m at the end of a day after I pulled an all-nighter trying to hit a grant proposal deadline. I don’t recall ever doing this in college. I seem to pull an all-nighter every five years or so. I’m too old for this! Anyway, the proposal is in and now I’m ready to move on to fun things… like talking to you about visualizing data! A few years back Whitney Battle-Baptiste and Britt Rusert put together an amazing collection of visualizations by WEB DuBois that he presented at the 1900...
Hey folks, Wow, I really didn’t expect my overview of Positron to resonate with so many people last week on YouTube! I’ll work on coming up with another video showing Virtual Studio Code (VS Code) in action. As others have mentioned in the episode’s comments, I’m not really sure why Posit is building Positron instead of making things easier within VS Code for R users. To me the need for an IDE that allows people to use multiple programming languages is a red herring - VS Code does that...
Hey folks, I hope you all are doing well as we settle in to 2025. Here in southeastern Michigan winter has settled in. Our high temperatures have been below freezing for the past week and it looks like they will be for at least the next 10 days. Brrrr. Going outside reminds me to be grateful that our furnace works and that we’re able to keep it running. It’s easy to take that for granted. Perhaps this is what people had in mind when they made January, “National Poverty in America Awareness...