Replace d3 with React