function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 12], ['Birkhaeuser Verlag', 9], ['Bulletin of the American Museum of Natural History', 11], ['Far Eastern Entomologist', 34], ['Fossil Imprint', 8], ['Geodiversitas', 19], ['Journal Of Crustacean Biology', 7], ['Journal of Natural History', 18], ['Journal of the Ceylon Branch of the Royal Asiatic Society', 7], ['Laurentius Salvius', 15], ['Order out of Chaos. Linnaean Plant Types and their Types', 17], ['Phytotaxa', 11], ['ZooKeys', 24], ['Zoological Journal of the Linnean Society', 73], ['Zootaxa', 264], ['Other (47)', 102] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=631)', 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);