visualizing An API of Ice and Fire

This week, I used an API of Ice and Fire to visualize the evolution of my beloved series over the years.

Click on the picture to see it on p5js. If the text doesn’t look like the screenshot, please refresh once or twice!

The code takes the following values from each book’s API:

  • Title
  • Release year
  • Number of characters
  • Number of point of view (POV) characters
  • Number of pages

I decided to pick these because you often see commentary within the fandom that the book series has gotten “bloated” over the years. The numbers are undeniable: we have twice as many POV characters as we did in the first book, and A Feast for Crows has nearly three times as many character mentions as A Game of Thrones did. Whether that’s bloat or growth is up for debate.