function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 2], ['Journal of Natural History', 2], ['Linzer biologische Beiträge', 17], ['Proceedings of the Hawaiian Entomological Society', 2], ['Records of the Canterbury Museum', 5], ['Regio typographeo scholarum', 1], ['Ukrainska Entomofaunistyka', 1], ['Vestnik Zoologii', 15], ['ZooKeys', 13], ['Zoodiversity', 24], ['Zoosystematica Rossica', 4], ['Zootaxa', 110] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=196)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 12, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);