function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Amphibian & Reptile Conservation', 34], ['Bulletin of the American Museum of Natural History', 2], ['Check List', 6], ['European Journal of Taxonomy', 1], ['Evolutionary Systematics', 1], ['Papéis Avulsos de Zoologia', 3], ['PeerJ', 3], ['South American Journal of Herpetology', 1], ['ZooKeys', 3], ['Zoological Journal of the Linnean Society', 2], ['Zoosystema', 8], ['Zootaxa', 50] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=114)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 12, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);