function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 40], ['Bulletin of the National Museum of Nature and Science, Series A (Zoology)', 3], ['Far Eastern Entomologist', 4], ['Verhandlungen der Kaiserlich-Königlichen Zoologisch-Botanischen Gesellschaft in Wien', 1], ['ZooKeys', 11], ['ZooNotes', 1], ['Zootaxa', 17] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=77)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 7, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);