function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annales de Paléontologie', 1], ['Benham and Leeve', 2], ['Deterville', 1], ['Edinburgh encyclopaedia, conducted by David Brewster', 1], ['European Journal of Taxonomy', 7], ['Geodiversitas', 7], ['Journal of Natural History', 3], ['Raffles Bulletin of Zoology', 56], ['Records of the Australian Museum', 5], ['ZooKeys', 2], ['Zoosystema', 21], ['Zoosystematics and Evolution', 3], ['Zootaxa', 80] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=189)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 13, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);