How can I transform a table into a graph?

Please avoid posting in the Grafana parent category. Whenever possible choose a subcategory.

How can I transform a table extracted by a query statement into a time series or plain graph?

THANK YOU!!

~ the grafana team