function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 21], ['Check List', 4], ['Cryptogamie, Mycologie', 18], ['Danish Mycological Society', 5], ['Edinburgh Journal of Botany', 6], ['European Journal of Taxonomy', 18], ['Geodiversitas', 1], ['MycoKeys', 57], ['Order out of Chaos. Linnaean Plant Types and their Types', 5], ['Phytochemistry', 2], ['Phytotaxa', 82], ['Proceedings of the United States National Museum', 1], ['Zoological Journal of the Linnean Society', 3], ['Zootaxa', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=224)', 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);