function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 1], ['Bulletin of the National Science Museum, Series A (Zoology)', 2], ['Insecta Mundi', 1], ['Miscellanea Zoologica Sumatrana', 3], ['Proceedings of the Zoological Society of London', 2], ['Raffles Bulletin of Zoology', 21], ['Records of the Indian Museum', 2], ['Systematic Entomology', 26], ['Tijdschrift voor Entomologie', 9], ['Treubia', 1], ['Zoological Systematics', 3], ['Zootaxa', 96] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=167)', 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);