function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Amphibian & Reptile Conservation', 4], ['Bonn Zoological Bulletin', 4], ['Check List', 5], ['Journal of Herpetology', 2], ['Journal of Natural History', 2], ['Mémoires du Muséum national d\'Histoire naturelle', 2], ['PeerJ', 2], ['Raffles Bulletin of Zoology', 3], ['Systematics and Biodiversity', 3], ['Taprobanica', 2], ['Vertebrate Zoology', 12], ['ZooKeys', 11], ['Zoosystema', 4], ['Zoosystematics and Evolution', 2], ['Zootaxa', 120], ['Other (3)', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=181)', 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);