Hey folks, Are you looking for more personalized support and coaching to help you develop your data analysis skills? Are you looking for help in leading a data science team where your folks aren’t super proficient in analyzing data? Let me know what you’re looking for and we can discuss how I might be able to help you. Unfortunately, this wouldn’t be a free service. But, I’m confident I can help you get over the challenges that are keeping you from creating data analyses and visualizations that you are proud of. Let me know by replying to this email. I really hate stacked bar plots. Unfortunately, one of my most popular videos is how to make a stacked bar plot! I even tell people that there are better ways of representing data than with a stacked bar plot. Oh well. Today, I want to share a stacked bar plot that I think would be fun to recreate and think about how we could make it better. This visualization was published online two years ago and comes to us from YouGov. This is a horizontal stacked bar plot showing whether people love, like, dislike, hate or don’t know if they like one of 30 card games. It also has text annotation to indicate the size of each of the bars. If you want the data, you can copy and paste it from a PDF with their data. Incidentally, embedding data in a PDF is a sure sign to me that people don’t want you to actually use the data for secondary purposes. Thankfully, this is a nice PDF that we can copy and paste and with some regular expressions in RStudio, we can convert to a tibble. The data will come in wide format with the different sentiment types across the columns, the games in the rows, and the cells the level of sentiment for each game. We can tidy the data using By default, We’d also like to add the level of sentiment for each game to each of the bars. Well, except for those bars with less than 4% support. I’d start by making a There’s a number of interesting stylings that we’ll be able to implement in the Now, how could we improve this figure? The main problem with stacked bar plots is that it is difficult to compare the internal bars across groups. Sure the numbers are there, but it’s not as efficient as comparing the length of a bar that is anchored on either side. One solution would be to convert this to a dot plot where we’d use the same x and y-axis aesthetic mappings, but we’d use As an aside, I’m struck by the preference for solitaire and the overall dislike of bridge. Solitaire is a single person game that at one point (perhaps still?) came on every windows computer. There’s little strategy. Bridge is a very social game that I associate with the “greatest generation”. Couples would get together regularly to play with each other and there were newspapers columns about bridge strategy along side columns about chess strategy. It’s hard to not see this as some referrendum on our social media world where we think we’re participating in a community, but really we’re growing more and more isolated. What’s your favorite card game?
|
Hey folks, We had another great livestream on Wednesday building a figure from the Washington Post. I talked about this plot last month in the newsletter as being a faceted waffle plot. We had a lot of fun building the figure! I didn’t think we’d get to it, but we even came up with a clever approach to making the non-uniform circles to depict each response to the WP’s survey. You’ll have to watch the livestream to see how we did it. I have really enjoyed the interaction with the people who...
Hey folks, I’ve now produced three livestream videos. What do you think? Do you watch them live or watch them later? Or are they too long? I’m looking for honest feedback! I have to admit that if I hadn’t livestreamed these videos, they would not have been produced. It’s nice that I can more or less record and post without any editing. This is still a bit of an experiment. I think fewer people are watching the episodes which makes me worry that this might be an overall step backwards for you...
Hey folks! Do you ever get that feeling where you’re scared to try something? But then you do it anyway… and it turns out way better than you expected? Well that was me on Wednesday morning. I ran my first livestream on YouTube recreating a ridgeline plot from Our World in Data showing the US baby boom. I wrote about it here in the newsletter back in May. The full session was about 2.5 hours. YouTube tells me that 272 people popped in at some point during the session. To be honest, I really...