Add local D3 installation
Renamed files
Fixed and cleaned up code after learning a little more about D3