function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Anales Sociedad Rural Argentina', 1], ['Anales del Museo Nacional de Historia Natural de Buenos Aires', 3], ['Annals and Magazine of Natural History, Including Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany ', 2], ['Ballière', 8], ['Biodiversity Data Journal', 83], ['Insects of Guam II', 1], ['Journal of Hymenoptera Research', 7], ['Journal of Natural History', 1], ['Linzer biologische Beiträge', 28], ['The Entomological Magazine', 9], ['Vestnik Zoologii', 3], ['Zoological Journal of the Linnean Society', 30], ['Zoological Systematics', 2], ['Zoosystema', 14], ['Zootaxa', 29], ['Other (8)', 8] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=229)', 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);