function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 24], ['Check List', 8], ['European Journal of Taxonomy', 6], ['Hallageriis', 5], ['Journal of Natural History', 73], ['Journal of Threatened Taxa', 4], ['Nauplius', 59], ['Palaeoentomology', 12], ['Papéis Avulsos de Zoologia', 20], ['Phytotaxa', 5], ['Raffles Bulletin of Zoology', 34], ['Records of the Australian Museum', 35], ['Zoological Journal of the Linnean Society', 34], ['Zoosystema', 12], ['Zootaxa', 888], ['Other (21)', 29] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=1248)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);