How to create the best Dungeons & Dragons character

Apr 18, 2023 · 3 min read

From Paladins to Warlocks: which Dungeons & Dragons class will rule them all?

Grades 9 - 12

Dungeons & Dragons (DnD) has been enchanting players with its immersive roleplaying experience since 1974. The game has influenced everything from comics to the latest Dungeons & Dragons movie, which was released in April 2023. With more people than ever starting to play DnD, let's take a closer look at the most sought-after qualities to have in a character, using data science.

What are the most popular races and classes (a character’s occupation or vocation) among DnD players? Can data science unlock the secret to building a formidable character?

To answer our question we:

Used data from a GitHub user who created an app for printing DnD character sheets. The app also collects data on the characters, and the user compiled it into a comprehensive dataset that is available on GitHub.

Visualizing the data

In DnD, players take on the roles of adventurers who battle fearsome foes and overcome challenges, all while following a story crafted by a skilled Dungeon Master (DM). Players create and control a unique character from a variety of classes and/or races, each with their own strengths, weaknesses, and personalities.

In the above visualization, we've plotted the most popular classes chosen by players in our dataset, along with their frequency of selection. The Fighter class stands out as the most commonly chosen one, closely followed by Rogue and Cleric. Hover your mouse over the plot to see the exact number of times each class was chosen.

In the second graph, we explored the most popular DnD races. As it turns out, Humans are the most frequently chosen race of all when it comes to character creation.

Next, we looked at the most popular combination of races and classes in our dataset. The largest number of players chose a combination of the Human race and Fighter class, followed by Human/Cleric, and Human/Rogue.

The choice of races and classes determines a character’s abilities and how they interact with the world. In the next plot, we examined the distribution of strength (STR) ability among different race/class combinations.

In this interactive plot, you can toggle class names and view their respective data. When comparing race/class combinations with the Fighter class, for example, we notice that Human/Fighter has a lower strength ability score than Orc/Fighter or Minotaur/Fighter. Check out our Dungeons & Dragons Jupyter Notebook for similar plots on all six ability scores used in DnD. It also includes a section on using data science for character creation.

Whether you are a seasoned player or just starting out, this data may surprise you and guide you to create your next character.

Reflect on what you see

Look and interact with the data visualizations above. When you hover your mouse over the plots, you’ll notice more information appears. You can also use the legend to make plots appear and disappear.

Think about the following questions.

  • What do you notice about these graphs?
  • What do you wonder about the data?

Use the fill-in-the-blank prompts to summarize your thoughts.

  • “I used to think _______”
  • “Now I think _______”
  • “I wish I knew more about _______”
  • “These data visualizations remind me of _______”
  • "I really like _______”

Learn how we visualized the data

Go to our walk-through (in Jupyter notebook format) to see how the data science process was applied to create these graphs, from formulating a question to gathering the data and analyzing the data with code.

Authors
Building tomorrow’s digital leaders
Developing data science tools for Canadian K12 classrooms