function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Arachnologica', 27], ['Biodiversity Data Journal', 5], ['Bulletin of the National Museum of Nature and Science, Series A (Zoology)', 2], ['Bulletin of the National Science Museum, Series A (Zoology)', 5], ['Far Eastern Entomologist', 1], ['Insect Systematics and Diversity', 1], ['Journal of Species Research', 7], ['Species Diversity', 4], ['Zoological Systematics', 3], ['Zoosystema', 9], ['Zoosystematics and Evolution', 3], ['Zootaxa', 83] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=150)', 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);