function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Hydrobiologica Sinica', 2], ['Acta Zootaxonomica Sinica', 7], ['Biodiversity Data Journal', 5], ['Copeia', 4], ['Ha Noi, Scientific & Technology', 4], ['Journal of South Asian Natural History', 4], ['Notes from the Leyden Museum', 3], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 4], ['Proceedings of the California Academy of Sciences, Series 4', 4], ['Raffles Bulletin of Zoology', 14], ['Records of the Indian Museum', 7], ['Sinensia', 11], ['Voprosy Ikhtiologii', 3], ['Zoological Research', 7], ['Zootaxa', 83], ['Other (39)', 47] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=209)', 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);