function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Arachnology Letters', 1], ['Arthropoda Selecta', 1], ['Biodiversity Data Journal', 24], ['Bulletin of the British Arachnological Society', 1], ['Bulletin of the National Science Museum, Series A (Zoology)', 1], ['Fragmenta Faunistica', 1], ['Megataxa', 3], ['Records of the Dominion Museum', 1], ['Revue suisse de Zoologie', 7], ['ZooKeys', 8], ['Zoosystema', 6], ['Zootaxa', 12] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=66)', 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);