How to make cumulative frequency graph