function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Archiv für Molluskenkunde', 1], ['Biodiversity Data Journal', 10], ['European Journal of Taxonomy', 35], ['Papéis Avulsos de Zoologia', 1], ['Raffles Bulletin Of Zoology', 1], ['Raffles Bulletin of Zoology', 5], ['The Entomolog', 48], ['ZooKeys', 147], ['Zoologia', 3], ['Zoosystema', 3], ['Zoosystematics and Evolution', 6], ['Zootaxa', 80] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=340)', 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);