MediaWiki:Artifax

  google.load("visualization", "1", {packages:["corechart"]}); google.setOnLoadCallback(drawChart); function drawChart { var data = google.visualization.arrayToDataTable([         ['Year', 'Citizens'],          ['1796',  20],          ['1800',  210],          ['1830',  110],          ['1880',  190],          ['1918',  98],          ['1950',  2110],          ['1970',  3290],          ['1980',  4200],          ['1985',  4018],          ['1990',  3898],          ['1995',  3300],          ['2000',  2980],          ['2005',  2420],          ['2010',  2247],          ['2013',  2185],        ]);

var options = { title: 'Citizen change', hAxis: {title: 'Year', titleTextStyle: {color: 'red'}} };

var chart = new google.visualization.ColumnChart(document.getElementById('chart_div')); chart.draw(data, options); }

