Plot data from json