function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Amphibian & Reptile Conservation', 1], ['Check List', 1], ['Fossil Record', 1], ['Geodiversitas', 3], ['Herpetologica', 1], ['Herpetozoa', 1], ['Joan Thomae', 1], ['Journal of Zoology, London', 1], ['Mémoires du Muséum national d\'Histoire naturelle', 2], ['ZooKeys', 1], ['Zoosystema', 3], ['Zoosystematics and Evolution', 1], ['Zootaxa', 18] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=35)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 13, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);