function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 5], ['Bollettino della Società Paleontologica Italiana', 1], ['Candollea', 2], ['Conchylia', 1], ['European Journal of Taxonomy', 4], ['Geodiversitas', 2], ['Journal of Natural History', 4], ['Publications of the Carnegie Institution of Washington', 9], ['Records of the Western Australian Museum', 1], ['The Bulletin of the Russian Far East Malacological Society', 1], ['ZooKeys', 1], ['Zoosystema', 2], ['Zoosystematics and Evolution', 2], ['Zootaxa', 29] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=64)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 14, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);