Charts in react js using recharts