Started function to pull jSON data depending on the bar selected