get graph data from api and adding to json feed