function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Far Eastern Entomologist', 10], ['Insecutor inscitiae menstruus', 1], ['Proceedings of the Hawaiian Entomological Society', 1], ['Report of the Board of Commissioners of Agriculture and Forestry of the Territory of Hawaii', 1], ['Revista de Entomologia (Rio de Janeiro)', 1], ['ZooKeys', 2], ['Zootaxa', 36] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=52)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 7, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);