function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['African Invertebrates', 81], ['Biodiversity Data Journal', 4], ['Bulletin of the National Science Museum, Series A (Zoology)', 47], ['European Journal of Taxonomy', 7], ['Journal of Natural History', 60], ['Memoirs of the Museum of Victoria', 3], ['Memoirs of the Queensland Museum', 4], ['Raffles Bulletin of Zoology', 29], ['Species Diversity', 9], ['VermEcology', 3], ['ZooKeys', 50], ['Zoological Journal of the Linnean Society', 11], ['Zoological Science', 6], ['Zoosystema', 10], ['Zootaxa', 1070], ['Other (6)', 6] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=1400)', 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);