D3 React Bar Chart - Using React Hooks With D3 04 Animated Bar Chart