function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Amphibian & Reptile Conservation', 2], ['Biodiversity Data Journal', 5], ['Check List', 3], ['Evolutionary Systematics', 1], ['Herpetologica', 1], ['Herpetozoa', 2], ['North-Western Journal of Zoology', 1], ['Proceedings of the California Academy of Sciences', 8], ['Revue suisse de Zoologie', 2], ['Vertebrate Zoology', 3], ['ZooKeys', 7], ['Zootaxa', 20] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=55)', 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);