function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 3], ['European Journal of Taxonomy', 79], ['Geodiversitas', 5], ['Proceedings of the Biological Society of Washington', 1], ['Records of the Western Australian Museum', 4], ['Strombus', 1], ['ZooKeys', 4], ['Zoologia', 1], ['Zoosystema', 70], ['Zoosystematics and Evolution', 148], ['Zootaxa', 956] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=1272)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 11, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);