function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Protozoologica', 4], ['European Journal of Taxonomy', 5], ['Journal of Natural History', 6], ['Mémoires de l\'Institut National Genevois', 1], ['Parasite', 1], ['Protist', 2], ['Zoodiversity', 1], ['Zoological Journal of the Linnean Society', 11], ['Zoological Science', 1], ['Zoology Publications from Victoria University College', 2], ['Zootaxa', 23] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=57)', 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);