function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Arachnologica', 7], ['Biodiversity Data Journal', 25], ['Bulletin of the American Museum of Natural History', 88], ['European Journal of Taxonomy', 511], ['Journal of Natural History', 25], ['Journal of Species Research', 5], ['Memoirs of the National Science Museum, Tokyo', 3], ['Raffles Bulletin of Zoology', 7], ['Turkish Journal of Zoology', 4], ['ZooKeys', 92], ['Zoological Journal of the Linnean Society', 65], ['Zoological Systematics', 3], ['Zoosystema', 4], ['Zoosystematics and Evolution', 13], ['Zootaxa', 771], ['Other (15)', 21] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=1644)', 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);