function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Palaeontologica Polonica', 4], ['Biodiversity Data Journal', 2], ['European Journal of Taxonomy', 28], ['Journal of Crustacean Biology', 1], ['Journal of Natural History', 10], ['Ohmu: occasional papers of Zoological Laboratory, Faculty of Agriculture, Kyushu University', 1], ['ZooKeys', 23], ['Zoological Journal of the Linnean Society', 16], ['Zoosystema', 11], ['Zootaxa', 100] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=196)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);