Draw graph from data