function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Candollea', 36], ['Check List', 77], ['Cryptogamie, Bryologie', 266], ['Fossil Record', 7], ['Journal of Natural History', 5], ['Order out of Chaos. Linnaean Plant Types and their Types', 2], ['PhytoKeys', 103], ['Phytochemistry', 7], ['Phytotaxa', 687], ['Proceedings of the Japanese Society of Systematic Zoology', 1], ['Zoological Systematics', 6], ['Zootaxa', 5] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=1202)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 12, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);