function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Benjamin White and Son', 2], ['Biodiversity Data Journal', 6], ['Bulletin de la Société Zoologique de France', 1], ['European Journal of Taxonomy', 17], ['Hallageriis', 1], ['Journal of Natural History', 1], ['Laurentius Salvius', 4], ['Memoirs of the Australian Museum', 1], ['Raffles Bulletin of Zoology', 5], ['Transactions and proceedings of the Royal Society of New Zealand', 1], ['ZooKeys', 13], ['Zool Verh (Leiden)', 1], ['Zoosystema', 15], ['Zootaxa', 44], ['[G. Remondini e fl.]', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=114)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 15, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);