function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 4], ['Fragmenta entomologica', 2], ['Io. Frid. Gleditsch', 4], ['Laurentius Salvius', 19], ['Librairie Encyclopedique de Roret', 2], ['Linzer biologische Beiträge', 2], ['Monographie des Libellulidées d\'Europe', 2], ['Proceedings of the Royal Entomological Society of London', 2], ['Proft et Storch', 2], ['Siegfried Lebrecht Crusius', 2], ['Supplementum Entomologiae systematicae', 9], ['Transactions of the Entomological Society of London', 2], ['Wiener Entomologische Monatschrift', 18], ['ZooKeys', 2], ['Zootaxa', 4], ['Other (8)', 8] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=84)', 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);