function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['African Invertebrates', 1], ['American Journal of Conchology', 2], ['European Journal of Taxonomy', 2], ['Geodiversitas', 2], ['Georg, Libraire-éditeur', 1], ['Johan Christi. Trappii', 1], ['Journal of Natural History', 3], ['Longman, Orme, Brown, Green & Longmans', 1], ['Nautilus', 1], ['Quarterly Journal of the Geological Society, London', 3], ['ZooKeys', 7], ['Zoological Journal of the Linnean Society', 8], ['Zoosystema', 2], ['Zoosystematics and Evolution', 3], ['Zootaxa', 8] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=45)', 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);