json data for graphs