function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Actes de la Société Linnéenne de Bordeaux', 1], ['American Museum Novitates', 18], ['Annals and Magazine of Natural History, Including Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany ', 1], ['Annals of the Entomological Society of America', 1], ['Bulletin of the Museum of Comparative Zoology at Harvard College, 3', 1], ['Entomologica Americana', 1], ['European Journal of Taxonomy', 22], ['Journal of Entomology and Zoology', 1], ['Journal of the Elisha Mitchell Scientific Society', 1], ['Systematic Biology', 3], ['Tethys Entomological Research', 1], ['ZooKeys', 6], ['Zootaxa', 34] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=91)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 13, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);