How can i make a graph?

How can I make a graph like this?:
graph
I would like some side numbers too with minimum and maximum
I also would like to set a number and it will draw a line at the point
in real-time or a set speed.
thx

I have a brief video series that should help get you started at nocodetutes.com