function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin Inst Arts Sci Brooklyn', 1], ['Bulletin de la Société Impériale des Naturalistes de Moscou', 1], ['Caucasian Entomological Bulletin', 1], ['Far Eastern Entomologist', 4], ['Mich. Friedr. Bartschii', 1], ['Officina Libraria Kortii', 1], ['The Coleopterists Bulletin', 1], ['Transactions of the American Entomological Society', 28], ['ZooKeys', 7], ['ZooNotes', 32], ['Zoologisches Magazin', 1], ['Zootaxa', 30] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=108)', 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);