Blog > Stories
Mutant Moneyball: A Data Driven Ultimate X-Men
Blog > Stories
Mutant Moneyball: A Data Driven Ultimate X-Men
Sources, Data, and Related Assets
FIND ALL THE DATA USED IN THIS ARTICLE HERE: https://github.com/EliCash82/moneyball
A Gentle Introduction to Data Visualization
As we’ve moved and developed into a society that leans into the utility of information and data in so many modalities, more and more of us find that we need to understand data in new and deeper ways. Take this quote from The Forbes Magazine Technology Council: “When most people think about “currency,” they think of dollars or euros. Data is currency. It’s material, and both consumers and enterprises carry it.” The best way data can be analyzed is by making data more open and available, and this article hopes to do this in a fun engaging way.
Data analysis and visualization comes in many different forms and flavors. Some computer scientists prefer to use their object oriented programming skills and use Python Programming to produce visualizations and run data analysis. Others with an aversion to the complexities of programming lean heavily into spreadsheet software like Excel that can create more and more intricate data visualization deliverables all the time. For this article, the R Language was utilized.
The R Language, often referred to simply as R, is software, along with the R-centric IDE RStudio, was used to build initial data visualizations along with libraries like ggplot2 which uses Hadley Wickham’s “Grammar of Graphics” approaches to create charts and graphics. These were then moved into photoshop where they were used as base layers to create more attractive visualizations complete with relevant avatars connected to X-Men team members being analyzed.
Data visualization is certainly more accessible than it ever has been, but that certainly doesn’t mean it isn’t without difficulties. The point of this article is not to magically make all readers into data scientists, but here are a couple of well written tutorials for anyone that might be interested in using this data to work with R Language data viz. There are so many solid tutorials out there, why not stick with the Moneyball theme and check some of these approaches to analyzing Baseball:
- A Short Introduction to Using R for Baseball Research – https://tht.fangraphs.com/a-short-ish-introduction-to-using-r-for-baseball-research/
- A Gentle Introduction to GGPLOT2 – https://bayesball.github.io/VB/gentle_introduction.html
Now that that’s out of the way, here are some formulas if you’d like to test your results against the ones we’ve provided with you here:
Mutant Moneyball Cookbook
Recipe 1: Import provided Mutant Moneyball Data into R/RStudio:
library(readr)
xteam1 <- read_csv(“xteam1.csv”)
head(xteam1)
Recipe 2: Plot X-Men team members on a graph in which the X axis represents the total number of 1980s issues each member appears in and the Y axis represents the total value of 1980s issues each member appears in. Do this with value data pulled from Heritage auctions.
> library(dplyr)
> library(tidyr)
> library(ggplot2)
> library(ggthemes)
> ggplot(xteam1, aes(TotalIssues80s, TotalValue80s_heritage))+ geom_point(aes(color=Member))
Recipe 3: Plot X-Men team members on a graph in which the X axis represents total number 1980s issues each member appears in and the Y axis represents total value of 1980s issues each member appears in. Do this with value data pulled from ebay.
> library(dplyr)
> library(tidyr)
> library(ggplot2)
> library(ggthemes)
> ggplot(xteam1, aes(TotalIssues80s, TotalValue80s_ebay))+ geom_point(aes(color=Member))
Special Thanks
Richard Fan for helping wrangle the data, Lisa Mason for editorial
Ebay and Heritage for making their data open and available
Hadley Wickham (ggplot2)
Chris Claremont, John Bryne, Stan Lee, Jack Kirby, Jim Lee, Louise Simonson, Ann Nocenti, and others that worked on these essential X-Men narratives
Related Assets on Rally
’75 MARVEL X-MEN #94 (1st NEW TEAM IN TITLE SERIES)
’75 MARVEL GIANT-SIZE X-MEN #1 (1st APP. NEW X-MEN)
’63 MARVEL X-MEN #1 (Exited/Sold 2021 at $325k)
’63 MARVEL AMAZING SPIDER-MAN #1
’63 MARVEL THE AVENGERS #1 (Exited/Sold 2021 at $325k)
’61 MARVEL FANTASTIC FOUR #1 (Exited/Sold 2021 at $126k)
’60 DC COMICS JUSTICE LEAGUE OF AMERICA #1 (Exited/Sold at $225k)