Fairy Tale Map

Data visualization project that maps fairytales to their country of origin

Fairy Tale Map

Data visualization project

In this project, I collected data via a search query to the Digital Public Library of America and visualized them using a world map. The data were categorized by the animals that appeared in the fairy tales and the country that the fairy tale is from.

I used a nested hash table as the data structure for storing the data, I got a list of common animals from Wikipedia and saved them in a csv file. The program will generate search queries with the key word “fairy tale” and animals. The results will be grouped by locations, put into the first hash table using country name as the key, and then be grouped by species, put into the second hash table.

After parsing the data from the search query, the program will search for images of the animals on DPLA or on a list of URLs I found online. However, I ended up searching for all the images manually as the images found on DPLA are either unrelated to the subject or in low resolution.

This interactive web app is created using:
  • Processing
  • Digital Public Library of America API
View source code on GitHub
Overview of the app

A list of all fairy tales found for the selected country (Germany), grouped by animal species

Navigating the App

Overview

Country colored in green indicates that at least one fairy tale was found for this country, grey indicates that no fairy tales were found.
Each country has a circular thumbnail showing the dominant animal species of that country.

Dominant Animal of that Country

Hover the mouse over any thumbnail will display the full image, showing the animal with the max number of results found for that country (Russia in this case).

List of Fairy Tales

Click on any country with green color will bring up a table containing the detailed information found for each country, grouped by animals (Germany in this case).

Detail of Each Fairy Tale

Click on any box with a title that interests you will bring you directly to the DPLA web page of that fairy tale.