function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annals of the Carnegie Museum', 1], ['Avances en Ciencias e Ingenierías', 12], ['Biota Colombiana', 1], ['Check List', 21], ['European Journal of Taxonomy', 4], ['Evolutionary Systematics', 3], ['Herpetologica', 3], ['Papéis Avulsos de Zoologia', 6], ['Public Library of Science, ONE', 4], ['Vertebrate Zoology', 3], ['ZooKeys', 55], ['Zoological Journal of the Linnean Society', 10], ['Zoosystema', 8], ['Zoosystematics and Evolution', 2], ['Zootaxa', 61], ['Other (2)', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=196)', 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);