function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annals of the South African Museum', 3], ['Biodiversity Data Journal', 1], ['Bulletin of the Toyama Science Museum', 1], ['Edinburgh encyclopaedia, conducted by David Brewster', 3], ['Journal of Natural History', 18], ['Journal of crustacean biology', 1], ['Memoirs of the Queensland Museum', 1], ['Mitteilungen über Höhlen- und Karstforschung', 1], ['Nauplius', 2], ['Palaeontologia Electronica', 1], ['Postilla', 1], ['ZooKeys', 27], ['Zoological Journal of the Linnean Society', 2], ['Zoosystematics and Evolution', 17], ['Zootaxa', 41], ['Other (2)', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=122)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);