Added controller for getting data from DB in JSON format. Built initial visualisation of data with D3.