function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Comparative Cytogenetics', 7], ['Entomologist\'s monthly magazine', 3], ['European Journal of Taxonomy', 3], ['Fauna of New Zealand', 25], ['Insecta Mundi', 94], ['Insects of Guam II', 31], ['Journal of Insect Science', 4], ['Journal of Natural History', 7], ['Laurentius Salvius', 18], ['Philippine journal of science', 6], ['Proceedings of the Hawaiian Entomological Society', 4], ['Trans Proc N Z Inst', 3], ['ZooKeys', 60], ['Zoosystema', 17], ['Zootaxa', 744], ['Other (26)', 39] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=1065)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);