Homer, not Bart, is the star of the Simpsons

[This article was first published on Revolutions, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

It's been a long time since I watched the The Simpsons, but I was always under the impression that Bart was the primary character. Perhaps it was all the Do the Bartman and “Cowabunga!” nonsense from the 90s. Anyway, data scientist Todd W Schneider used R to analyze the scripts of the first 26 seasons and found that Homer speaks twice as much as next most represented character, Marge. Bart comes a close third.

Word_count

Marge and Lisa are represented in orange (the color of Lisa's dress, in fact) as the only 2 female characters that make the top 10. Female representation isn't much better in the supporting cast either; only 7 characters of the top 60 (12%) are female.

Todd's R code behind the blog post is available on Github (in the analysis folder). Of note to R programmers: Todd used the ggplot2 package to create the charts and created a custom ggplot2 theme for the charts (theme_tws_simpsons) using the Simpsons skin yellow and the Akbar font

For more data analysis of the Simpsons, including a look at the ratings over the last 27 years, check out the Todd's blog bost linked below.

Todd W. Schneider: The Simpsons by the Data (via Jenny Bryan)

To leave a comment for the author, please follow the link and comment on their blog: Revolutions.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)