function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acarologia', 32], ['Fauna of New Zealand', 51], ['International Journal of Acarology', 3], ['International journal of acarology', 2], ['Journal of Natural History', 9], ['Oriental Insects', 2], ['Persian Journal of Acarology', 53], ['Persian journal of acarology', 3], ['Proceedings of the Hawaiian Entomological Society', 2], ['Systematic & Applied Acarology', 3], ['Transactions of the Royal Society of New Zealand', 8], ['ZooKeys', 60], ['Zoological Systematics', 38], ['Zoosystema', 6], ['Zootaxa', 1540], ['Other (10)', 12] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=1824)', 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);