function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Druck Wilh. Plötz', 1], ['E. J. Brill', 3], ['Journal of Natural History', 1], ['Occasional Papers of the California Academy of Sciences', 1], ['Proceedings of the Washington Academy of Science', 1], ['Proceedings of the Zoological Society of London', 1], ['Turkish Journal of Zoology', 1], ['Z Gesammte Naturwiss', 1], ['Zootaxa', 7] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=17)', 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);