So you can use a Line Renderer to draw the line. You will need to provide it a set of points and it will generate a line mesh using them. It does not generate a curve though so you will need to do a little maths to generate the points that will give you a curve and then apply those points to the line renderer. Here is something that may help generate the points or google for a tutorial.
There is also loads of stuff on the asset store to do this.