generating graph from miner data