function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annalen des Naturhistorischen Museums in Wien, Serie B, Botanik und Zoologie', 1], ['Biodiversity Data Journal', 28], ['Birkhaeuser Verlag', 10], ['Bulletin of the American Museum of Natural History', 1], ['Journal of Natural History', 11], ['Linzer biologische Beiträge', 1], ['Zoological Journal of the Linnean Society', 8], ['Zoological Science', 2], ['Zootaxa', 30] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=92)', 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);