function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annales Societe Entomologique France', 6], ['Biodiversity Data Journal', 10], ['Entomo Helvetica', 1], ['Fragmenta entomologica', 2], ['Insecta matsumurana', 1], ['Linzer biologische Beiträge', 2], ['Miscellanea Zoologica Sumatrana', 7], ['Mémoires du Muséum national d\'Histoire naturelle', 12], ['Odonatologica', 4], ['Oriental Insects', 4], ['Proceedings of the Royal Entomological Society of London', 7], ['Proceedings of the Zoological Society of London', 1], ['Records of the Indian Museum', 2], ['Transactions of the Entomological Society of London', 6], ['Zootaxa', 7], ['Other (1)', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=73)', 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);