function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Batalleria', 1], ['Biodiversity Data Journal', 1], ['Deterville', 1], ['Ex Officina Gleditschiana', 4], ['Geodiversitas', 3], ['Journal of the Geological Society of Australia', 2], ['Journal of the Palaeontological Society of India', 1], ['Palaeontologia Indica, XIV', 1], ['Smithsonian Miscellaneous Collections', 2], ['Southeastern Geology', 1], ['Zoological Journal of the Linnean Society', 2], ['Zoosystema', 1], ['Zootaxa', 62] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=82)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 13, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);