function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Zoologica Academiae Scientiarum Hungaricae', 1], ['Annali del Museo Civico di Storia Naturale \' Giacomo Doria\'', 3], ['Biodiversity Data Journal', 6], ['Bulletin of the United States National Museum', 1], ['Deutsche Entomologische Zeitschrift', 5], ['Journal of Hymenoptera Research', 2], ['Journal of Natural History', 1], ['Linzer biologische Beiträge', 4], ['Transactions of the American Entomological Society', 1], ['ZooKeys', 4], ['Zoological Journal of the Linnean Society', 1], ['Zootaxa', 4] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=33)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 12, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);