Plot a simple XY chart

I want to draw a simple line chart with Paraview. It is a simple XY plot. My input data is something like

X Y
0 0
1 1
2 1.4142
4 2

I would like to store this data in a file with a format that paraview can read and generate a simple plot like this.

image

I would like to know what the file type and required format should be. Any help would be appreciated