Collect and Visualise Star Wars data using Scala and D3.js

At the moment there’s a lot of craze for the new movie Star Wars: Episode VII The Force Awakens.

This was the perfect opportunity to brush up on my knowledge of Star Wars starships. There’s a public API to help which lets you list all films and associated data such as starships, people, vehicles etc:

I’ve created a quick demo using Scala which uses together with images and links retrieved from to collect data into a JSON file. This file is then used with D3.js to visualise Star Wars starships for each movie.

Screenshot 2015-12-28 12.17.42.png


Collected data.json

You can find the code for the project written and running instructions here: