How I coded a BAR GRAPH with REACT