Chartjs-Using public data for dynamic data

1๐Ÿ‘

โœ…

If you use Angular 1.6+, .success has been removed (it has been deprecated since 1.5). Use .then instead:

$http.get("https://www.google.com/publicdata/explore?ds=z8o7pt6rd5uqa6_&ctype=l&strail=false&bcs=d&nselm=h&met_y=unemployment&fdim_y=age_group:y_lt25&fdim_y=seasonality:sa&scale_y=lin&ind_y=false&rdim=country_group&idim=country_group:non-eu&idim=country:de&ifdim=country_group&ind=false&icfg")
.then(function(response){
    console.log(response.data);
})

Leave a comment