function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 4], ['Bulletin of the United States National Museum', 2], ['Contributions to Zoology', 1], ['Deterville', 2], ['E. J. Brill', 1], ['Geodiversitas', 5], ['Raffles Bulletin of Zoology', 1], ['Science Reports Tohoku Imperial University', 2], ['United States Government Printing Office', 1], ['Zitteliana', 4], ['ZooKeys', 5], ['Zoologica (Stuttgart)', 2], ['Zootaxa', 23] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=53)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 13, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);