function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Zoologica Academiae Scientiarum Hungaricae', 26], ['Biodiversity Data Journal', 3], ['C. Fritsch', 1], ['European Journal of Taxonomy', 14], ['Journal of Natural History', 46], ['Laurentius Salvius', 3], ['NIWA', 6], ['Occasional Papers of the Bernice P. Bishop Museum', 2], ['Species Diversity', 23], ['ZooKeys', 33], ['Zoological Journal of the Linnean Society', 45], ['Zoological Science', 4], ['Zoologische Jahrbuecher Abteilungen für Systematik', 2], ['Zoologischer Anzeiger', 7], ['Zootaxa', 52], ['Other (12)', 12] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=279)', 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);