function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Entomologica Musei Nationalis Pragae', 12], ['Alpine Entomology', 7], ['Australian Journal of Entomology', 3], ['Biodiversity Data Journal', 4], ['Fragmenta Faunistica', 13], ['Insecta Mundi', 30], ['Journal of Natural History', 4], ['Occasional Papers of the Bernice P. Bishop Museum', 8], ['Pacific Science', 16], ['Proceedings of the Hawaiian Entomological Society', 25], ['Proceedings of the Linnean Society of New South Wales', 7], ['Taxonomic Monographs on Neotropical Hymenoptera', 42], ['ZooKeys', 52], ['Zoosystema', 19], ['Zootaxa', 221], ['Other (7)', 10] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=473)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);