function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Archiv für Molluskenkunde', 2], ['Biodiversity Data Journal', 3], ['Bulletin of the Buffalo Society of Natural Sciences', 6], ['Journal of Natural History', 9], ['Linzer biologische Beiträge', 2], ['Published by the author', 1], ['Records of the Auckland Institute and Museum', 7], ['Transactions of the Royal Society of New Zealand, Biological Sciences', 1], ['ZooKeys', 5], ['Zoosystema', 2], ['Zootaxa', 8] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=46)', 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);