Swapped out the link to the d3 library remotely for a fresh copy of it in /static/ as during a testing run it was failing because the d3 web-source was temporarily offline.