Fix Nvd3 Issue #98 Object #<Object> has no method 'map' on pieChart

Change data[0] to data for data.map for the pieChart