Plot XML data to graph