feat(matplotlib) Added matplotlib page

This commit is contained in:
Walker Waylon Scott 2017-05-21 10:48:38 -05:00
parent 129e98b383
commit 6bec8d8f25
5 changed files with 494 additions and 8 deletions

View file

@ -0,0 +1,11 @@
function updateChartSrc(){
var nation = $("#nation option:selected").text()
var updatedData = $.get('/mpl/'.concat(nation));
updatedData.done(function(results){
$("img[name=population]").attr("src", results.src)
});
}
$("#nation").on('change', updateChartSrc);