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: http://swapi.co.

I’ve created a quick demo using Scala which uses http://swapi.co together with images and links retrieved from http://www.starwars.com 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

Demo: http://urma.com/sw/

Collected data.jsonhttp://urma.com/sw/data.json

You can find the code for the project written and running instructions here: https://github.com/raoulDoc/SWexplorer