function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 5], ['Bulletin de la Société Philomathique de Paris, Série 7', 1], ['Check List', 2], ['Copeia', 1], ['Das Aquarium', 1], ['Ichthyological Research', 1], ['Journal of Threatened Taxa', 1], ['Monatsberichte der Akademie der Wissenschaft zu Berlin', 1], ['Raffles Bulletin of Zoology', 11], ['Records of the Indian Museum', 1], ['Turkish Journal of Zoology', 1], ['Verhandlungen der Kaiserlich-Königlichen Zoologisch-Botanischen Gesellschaft in Wien', 1], ['Wolfgang Gerle', 1], ['Zootaxa', 29] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=57)', 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);