function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Amphibian & Reptile Conservation', 15], ['Bulletin of the American Museum of Natural History', 9], ['Check List', 22], ['Geodiversitas', 5], ['Herpetologica', 7], ['Joan Thomae', 8], ['Papéis Avulsos de Zoologia', 5], ['PeerJ', 4], ['Proceedings of the California Academy of Sciences', 11], ['Raffles Bulletin of Zoology', 9], ['South American Journal of Herpetology', 8], ['ZooKeys', 21], ['Zoosystema', 9], ['Zoosystematics and Evolution', 5], ['Zootaxa', 189], ['Other (18)', 29] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=356)', 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);