JK Rowling wrote a series of 7 fantasy novels which took the world by storm 🌪️
I just finished the fifth book and just started 6th book I completed reading all 7 books 📚 and 8 movies 🎥
This repo's goal is to learn some common useful NLP (Natural Language Processing) methods, graph theory concepts and cool visualisations
Another side goal is to document the code as close to PEP 8
Doc string PEP 257
Philosopher's Stone (1997) | Chamber of Secrets (1998) | Prisoner of Azkaban (1999)
Goblet of Fire (2000) | Order of the Phoenix (2003) | Half-Blood Prince (2005) | Deathly Hallows (2007)
Code can be seen here and PDF image here
Note : Add one small image theming each book, book name, update font to Lumos or HP font
Also do annotations, smallest chapter, largest chapter, smallest and largest book
This was motivated by the amazing visualisation in Tableau by Skyler Johnson
Data was exported from Tableau and cleaned to tidy format
Yet to incorporate the interactive bits!
- x-axis is location within the book (All books were merged as a single text)
- y-axis shows the spell and each dot is coloured coding the book in which it appears
- Failed to colour the y-axis text based on
Type
of spell (Charm, Curse or Spell) Have to figure out a way to assign axis text color based on a variable and circumvent the issue below - Learned ggplot objects in some detail. Thanks to George Karamanis
- Twitter folks suggested to hide y-axis text and use
ggtext
to control aes/color of y-axis text
Color palette which captures HP movies, four houses etc. harrypotter package in R and documentation here
- There is a course offered by University of Waterloo called popular potter (engl 108p). Check out their syllabus. I have never read a cool syllabus like this before!
- ACCIO data is an infographic book from Olivia Rouse. This 80 pages visual guide is a feast for any visual data story enthusiast
- VisuProject_HarryPotterSpells
- Output is an interactive html
- Spells are ordered in appearance order. Size of bubble depends of number of times spell was used Connection via arcs
- Harry-Potter-Viz
- Cool wordcloud viz
- Colours are part of clouds which are themed with images
- potter_spells
- A python package to list all HP spells
- HP-text-mining
- Wordcloud in an image background
- HarryPotter-Sentiment-Contribution
- Sentiment analysis using R
- Spell the spells in Tableau