function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 33], ['Carolum Reichard', 1], ['Christ. Gottl. Proft', 1], ['E. W. Janson', 5], ['Entomologisk Tidskrift', 2], ['Far Eastern Entomologist', 70], ['In: Brullé, Histoire naturelle des animaux articulés .., t. 3. P. Duménil', 1], ['Journal of Hymenoptera Research', 4], ['Journal of Natural History', 17], ['Linzer biologische Beiträge', 365], ['Siegfried Lebrecht Crusius', 2], ['ZooKeys', 357], ['Zootaxa', 225] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=1083)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 13, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);