function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Biologica Universitatis Daugavpiliensis', 1], ['Bulletin de la Société Impériale des Naturalistes de Moscou', 2], ['Bulletin of the Bernice P. Bishop Museum', 1], ['Entomo Helvetica', 1], ['Far Eastern Entomologist', 1], ['Insecta Mundi', 3], ['Invertebrate Taxonomy', 3], ['New Zealand Institute', 1], ['New Zealand Institute bulletin', 3], ['The Coleopterists Bulletin', 1], ['ZooKeys', 6], ['Zootaxa', 118] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=141)', 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);