function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Protozoologica', 52], ['Biodiversity Data Journal', 224], ['Cladistics', 17], ['European Journal of Protistology', 10], ['European Journal of Taxonomy', 21], ['Havniae & Lipsiae', 100], ['Journal of Eukaryotic Microbiology', 35], ['Journal of Natural History', 73], ['Journal of Threatened Taxa', 18], ['Phytotaxa', 310], ['Protist', 14], ['Vestnik Zoologii', 15], ['Zoological Journal of the Linnean Society', 29], ['Zoological Systematics', 34], ['Zootaxa', 620], ['Other (72)', 157] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=1729)', 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);