Assumes you use http-server or something similar as your back-end. Based on the Ivan Loughman D3 Project.