function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Biologica Universitatis Daugavpiliensis', 2], ['Biodiversity Data Journal', 2], ['Caldasia', 3], ['Check List', 1], ['Cryptogamie, Mycologie', 60], ['Insecta Mundi', 8], ['Journal of Parasitology', 1], ['MycoKeys', 19], ['Order out of Chaos. Linnaean Plant Types and their Types', 1], ['Phytotaxa', 64], ['Proceedings of the National Academy of Sciences, India, Section B, Biological Sciences', 1], ['Records of the Australian Museum', 14], ['Zoosystema', 2], ['Zootaxa', 7] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=185)', 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);