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, I’m gearing up to teach a 1-day (6 hours) data visualization workshop on May 9th. This workshop will cover an introduction to the ggplot2 package and will assume no prior R knowledge. My goal is to help you to understand the ggplot2 framework and begin to apply it to make some interesting and compelling visualizations. From this workshop, I hope that you would be able to go off on your own journey learning more advanced topics. You can learn more and register by clicking the button...
Hey folks, Long time friends of Riffomonas know that I’ve been teaching data science classes for close to 20 years. The hallmark of my teaching has been three-day workshops where I either teach R (here and here) or the mothur software package. I’ve gotten feedback that three days is just too much time for people to carve out of their busy schedules. So, I’m excited to be offering a 1-day (6 hours) data visualization workshop on May 9th. This will cover an introduction to the ggplot2 package....
Hey folks, I’m really excited to be offering a 1-day (6 hours) data visualization workshop on May 9th. It will cover the basics of ggplot2. If you’ve been following along this newsletter for anytime, you know I’ve thought a lot about how we learn. A critical element of learning is to create a mental model that we can hang ideas on to flesh out our understanding of a concept. The “grammar of graphics” is one such mental model for building plots. It is instantiated in ggplot2 - that’s the “gg”...