|
Hey folks, We’re still slogging our way through Thanksgiving leftovers. As time passes from last Thursday, there’s a fine line between setting a good example about not wasting food and setting a bad example by getting every food poisoning! Speaking of eating, our teeth are pretty important, don’t you think? In the US, Trump’s expected head for the Department of Health and Human Services has a number of interesting views about health. One example is that its a bad idea to spike our drinking water with fluoride. As a father of 9 kids who all have teeth that rival Johnny Rotten’s (pre-surgery), I’ve always blamed it on the fact that we drink non-fluoridated well water. How could someone be so stupid to suggest that we not put fluoride in our water?! Well, CNN dug into the controversy. It turns out that the relationship between the number of decayed, missing, and filled teeth and whether a country fluoridates their water is pretty weak. I’ll let you read the article and judge for yourself. I was struck by a figure in the article that is about half way down Thinking about this figure from the perspective of how I would recreate it in R, a few things stood out. First, the data are available through Malmö University’s Oral Health Country/Area Profile Project (CAPP). At the bottom of this newsletter I’ve extracted the data presented in the figure in case you want to play with recreating the CNN version or want to try creating your own. First, I think I was struck by this plot because it reminds me of the slope plots I’ve made of COVID-19 vaccine attitudes or of perceptions of quality life attributes. But it’s slightly different. The primary difference here is that the x-axis positions are different years for each country whereas before we had one x-axis position for the first time point and one x-axis position for the second time point. As an aside, when I was looking through the CAPP data, I noticed that many of these countries have more than two time points. I suspect including all of that data makes for a more complicated version of the figure that CNN didn’t want to confuse people with. Second, the figure could be made by generating two separate figures and putting them together with the patchwork package. But my preference would have been to do something like faceting with countries that use fluoride on the left and those that don’t on the right. I liked how they linked the color of the facet title to the color of the points and lines in the facet. Third, I like how everything that doesn’t relate to the trend seems to fade inot the background. What we really care about is the overall downward trend in decayed, missing, and filled teeth and how that trend differs between the fluoridation policies. So those trends should be bold and colorful. So things like the country name are really of secondary importance. I liked how those names are relatively small and gray so that they seem to fade into the background. Related to the country names, the number of screwed up teeth doesn’t really matter either since it’s the slope of the lines that we are concerned with. So again, the y-axis text and grid lines also fade into the background. To generate this figure using the table below, I’d use As far as styling the plot, the major points are the colors, axes, and theming. The y-axis starts at zero (without showing zero) and goes to 10 by twos with a grid line on the labelled y-axis values. The x-axis starts at 1970 and goes to about 2023 labelling the axis every 20 years. I’d use This plot should be fairly straightforward. Perhaps that’s why I was drawn to it - it’s simple and doesn’t let a lot of ornamentation clutter up the figure. The thing I really wonder about are all of the other years that they aren’t showing. For example, in addition to 1984 and 2002, Ireland also has data for 1992 and 1993. The data are pretty fascinating and have other interesting comparisons, which make me wonder why they weren’t included. For example, there are data for Ireland in 1984 for kids who both received fluoridated and non-fluoridated water in 1984 and 2002. The values drop from 3.3 to 1.8 and 2.6 to 1.4 for non-fluoridated and fluoridated water, respectively (the published plot seems to mistakenly show the non-fluoridated water value). If you come across any figures in popular media that resonate with you, please let me know! I’d love to see other examples of “public-facing” figures that tell an interesting story.
|
Hey folks, Earlier this week, those of us in the US celebrated Memorial Day. For many, this marks the unofficial start of summer. I suppose the clock is now ticking until Labor Day, which is the unofficial end of summer. Let me be the jerk to tell you that you have 100 days left to accomplish all of your summer goals. I suspect that for many of you writing papers and putting together conference posters and talks are on your list of goals. Generating attractive visualizations of your data is...
Hey folks, I’ve been getting asked to give more talks about data visualization and my experiences critiquing visualization. It’s been a lot of fun to engage with live audiences. I enjoy learning about their experiences, motivations, and limitations. As much as I love this newsletter and the content I post to YouTube, it’s clear that it isn’t a substitute to talking to people without the filter of email or a chat box. So, if you’re interested in working with me on an individual or group level...
Hey folks, The more I peruse the literature, the more I see that researchers need help designing figures to help tell their stories. I don’t just mean the mechanics of creating a figure in R, Python, Prism, or Excel. Rather, if someone had a box of dry erase markers of various colors and they had to give a talk without any slides, what would they draw to tell their story? I don’t mean to trivialize the difficulties. It’s hard! There are many figures I’ve published that I wish I could have a...