function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Entomologica Musei Nationalis Pragae', 1], ['Annali del Museo Civico di Storia Naturale \' Giacomo Doria\'', 1], ['Annals and Magazine of Natural History, Including Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany ', 2], ['Biodiversity Data Journal', 11], ['Bulletin de la Société Impériale des Naturalistes de Moscou', 1], ['Bulletin of the National Science Museum, Series A (Zoology)', 4], ['Entomo Helvetica', 4], ['European Journal of Taxonomy', 5], ['Insecta Mundi', 4], ['Latridiidae', 4], ['New Zealand entomologist', 3], ['The Coleopterists Bulletin', 31], ['The Coleopterists Society Monographs, Patricia Vaurie Series', 16], ['ZooKeys', 22], ['Zootaxa', 12], ['Other (4)', 4] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=125)', 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);