function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletins de l\'Académie Royale des Sciences, des Lettres et des Beaux-arts de Belgique', 2], ['Insecta Mundi', 1], ['Insecta matsumurana', 1], ['Linzer biologische Beiträge', 1], ['Miscellanea Zoologica Sumatrana', 7], ['Proceedings of the Japanese Society of Systematic Zoology', 1], ['Systematic Entomology', 6], ['Transactions of the Entomological Society of London', 2], ['Treubia', 1], ['Wiener Entomologische Monatschrift', 1], ['Zootaxa', 39] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=62)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 11, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);