function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['BMC Evolutionary Biology', 4], ['Biodiversity Data Journal', 155], ['Bulletin de la Société Entomologique de France', 5], ['Deutsche Entomologische Zeitschrift', 10], ['European Journal of Taxonomy', 6], ['Far Eastern Entomologist', 6], ['Fragmenta Faunistica', 3], ['Insecta Mundi', 9], ['Journal of Natural History', 4], ['Linzer biologische Beiträge', 107], ['Memoirs of Museum Victoria', 23], ['PeerJ', 14], ['ZooKeys', 43], ['Zoological Journal of the Linnean Society', 23], ['Zootaxa', 273], ['Other (5)', 7] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=692)', 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);