Barclays interview question

How do you create a yield curve?