opengl bar chart please help me :)

Hello!I am a beginner in opengl and I kindly request for a little help because I have to prepare an essay for the University.
What I have to do is to create a bar chart and as much as I have studied these days I am confused.
Could anyone help by explaining to me what I have to do or by giving to me specific steps?
Thank you in advance for your time.