function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annales de la Société Impériale d\'Agriculture, Histoire Naturelle de Lyon', 1], ['Biodiversity Data Journal', 1], ['Bulletin of the American Museum of Natural History', 1], ['Check List', 2], ['Memoirs of the Queensland Museum', 1], ['Monatsberichte der Akademie der Wissenschaft zu Berlin', 1], ['Notes from the Leyden Museum', 1], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 1], ['Proceedings of the Linnean Society of New South Wales', 9], ['Proceedings of the Royal Society of Queensland', 2], ['Proceedings of the Zoological Acclimatisation Society of Victoria', 1], ['Transactions of the Royal Society of South Australia', 2], ['Zoologische Verhandelingen, Leiden', 5], ['Zootaxa', 8] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=36)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 14, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);