function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Archiv für Molluskenkunde', 1], ['Biodiversity Data Journal', 2], ['F. Schoell', 1], ['Journal of Natural History', 9], ['Papéis Avulsos de Zoologia', 1], ['Proceedings of the Zoological Society of London', 4], ['The Bulletin of the Russian Far East Malacological Society', 1], ['ZooKeys', 11], ['Zoosystema', 1], ['Zoosystematics and Evolution', 3], ['Zootaxa', 14] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=48)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 11, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);