React D3 Charts - Update Items And Change Pie Chart Dynamically React Js D3