function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acarologia', 107], ['Acarological Studies', 2], ['Annals and Magazine of Natural History, Including Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany ', 2], ['Annals of the Entomological Society of America', 1], ['Australian Journal of Zoology, Supplementary Series', 1], ['Can Ent', 2], ['Can Ent Suppl', 1], ['Florida entomologist', 1], ['Journal of Natural History', 15], ['Persian Journal of Acarology', 8], ['Soil Organisms', 3], ['Species Diversity', 2], ['ZooKeys', 1], ['Zoological Science', 1], ['Zootaxa', 271] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=418)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 15, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);