|
Hey folks, Did you know that March is Women’s History Month? Each year The Economist updates what they call the “Glass Ceiling Index”. This is a measure of “the role and influence of women in the workforce”. It’s an aggregate of ten factors including the gender gap in wages, work force participation, and higher education. Sadly, the article is behind a paywall. They also haven’t made their data publicly available. Regardless, you can get a static copy of the article through archiv.is. Here’s the graphic that appears to most popular when you google for the index. What stands out to you about this figure? To me, it’s interesting that the countries at the top tend to stay at the top and those in the bottom tend to stay at the bottom. The countries in the middle are a bit of a jumbled mess. Poland has taken a nose dive since 2016 while Britain has climbed. The U.S. has been pretty steady between 18th and 20th place. One critique is that this shows the relative trends and not the absolute. All the countries could be getting better on each factor, but we wouldn’t see it here. We’d only see whether a country is improving at the same, better, or worse rate than other countries. Graphically, what stands out to you? What would interest you most to see done in R? Here are my first thoughts… At first glance, this is a line plot with 30 lines. Line plots can be generated using Alternatively, we could try using A second interesting component to the figure is that the lines/polygons are colored according to the ranking from 2024. Normally, we could pull this off with A third element that catches my eye is the order of the lines. They appear to have been laid down on the “plotting canvas” in ranked order. We’ll need to make sure this happens with our recreation. This is the type of thing I’d do with A fourth element that stands out to me is that the countries are ordered on the left side for 2016 and the right side for 2024. The left side is easy enough to do with setting the y-axis text in Finally, the x-axis has the four digit year for 2016 and the last two digits of each year for the even years that follow. That’s easy enough to do with Oof. This is going to be challenging! But, I’m excited to learn more about
|
Hey folks, If you missed Wednesday’s livestream, I encourage you to go back and check it out. I recreated a panel from a paper published in Nature that is pretty typical. It was made up entirely of photographs. Sometimes I feel like I’m the only PI that doesn’t merge panels into figures using Illustrator or Powerpoint. I prefer to use R with some help from {cowplot} or {patchwork} to do this for me. That way I can write a single script to generate the entire set of panels. The result is a...
Hey folks, This week I’ve been teaching one of my 3 day R workshops as part of my official teaching duties at the U of Michigan. I really enjoy teaching these classes! I offer recorded versions of these workshops that use microbiome data or other types of data to help motivate my teaching of R’s tidyverse packages. If you would like to purchase your own version of these workshop click on those links! Also, if you would like me to teach a live workshop to your group, reply to this email and...
Hey folks, If you missed it, on Wednesday I did a livestream where I made a stacked barplot and pronounced it good. No, I wasn’t drinking anything! But it’s a reminder to think about the question before finding the best data visualization strategy. I think this highlights the value of the constructive approach I’ve been trying to take to critiquing data visualizations. The first steps are to establish the question and figure out the question. If you aren’t a “regular”, I think you’re really...