What's the best way to plot in C++?

For example, I have data:

x y
---------------
1 2
3 4
5 6
: :
---------------

How shall I plot (x,y) curve? Any (open source) library to use? Thank you for suggestion.