function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Abhandlungen und Berichte des Königlichen Zoologischen und Anthropologisch-Ethnographischen Museums zu Dresden', 2], ['Bulletin des Sciences Naturelles et de Géologie', 2], ['Bulletin of the American Museum of Natural History', 39], ['J. G. Cottae', 1], ['Laurentius Salvius', 3], ['Revue suisse de Zoologie', 1], ['Utrecht', 1], ['Zoological Journal of London', 1], ['Zootaxa', 18] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=68)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 9, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);