function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Archiv für Naturgeschichte', 1], ['Benham and Leeve', 5], ['Biodiversity Data Journal', 2], ['Bulletin of the National Science Museum, Series A (Zoology)', 2], ['Deterville', 2], ['Edinburgh encyclopaedia, conducted by David Brewster', 2], ['Geodiversitas', 4], ['Journal of Natural History', 2], ['Micronesica', 2], ['Occasional Papers of the Bernice P. Bishop Museum', 4], ['Palaeontologia Electronica', 2], ['Raffles Bulletin of Zoology', 7], ['ZooKeys', 5], ['Zoosystema', 24], ['Zootaxa', 206], ['Other (6)', 6] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=276)', 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);