function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 9], ['Deterville', 2], ['European Journal of Taxonomy', 4], ['Geodiversitas', 3], ['Geological Survey of Alabama', 11], ['Journal of Natural History', 8], ['Journal of the Washington Academy of Sciences', 9], ['Proceedings of the United States National Museum, 3', 12], ['Raffles Bulletin of Zoology', 9], ['Revue Suisse de Zoologie', 6], ['Species Diversity', 69], ['ZooKeys', 3], ['Zoological Journal of the Linnean Society', 11], ['Zoosystema', 5], ['Zootaxa', 204], ['Other (3)', 4] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=369)', 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);