Updates to D3 code

Now have pie chart showing