function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Boletín Científico Centro de Museos, Museo de Historia Natural', 1], ['Insecta Mundi', 1], ['Mittheilungen der Schweizer Entomologischen Gessellschaft', 1], ['Revista Chilena de Entomología', 1], ['Revue suisse de Zoologie', 4], ['ZooKeys', 3], ['Zoosystema', 5], ['Zootaxa', 38] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=54)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 8, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);