function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 2], ['Boletín Científico Centro de Museos, Museo de Historia Natural', 1], ['Bulletin de la Société Entomologique de France', 3], ['C. Geyer', 1], ['Caucasian Entomological Bulletin', 1], ['Evolutionary Systematics', 1], ['In: Brullé, Histoire naturelle des animaux articulés .., t. 3. P. Duménil', 1], ['Insecta Mundi', 23], ['Journal of Natural History', 5], ['Linzer biologische Beiträge', 2], ['ZooKeys', 3], ['Zoosystema', 1], ['Zootaxa', 51] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=95)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 13, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);