function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annals of the Carnegie Museum', 1], ['Aqua, Journal of Ichthyology and Aquatic Biology', 1], ['Biodiversity Data Journal', 1], ['Check List', 1], ['Int. Rev. Hydrobiol. Leipzig', 1], ['Japanese Journal of Ichthyology', 1], ['Journal of Fish Biology', 1], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 1], ['Proceedings of the United States National Museum, 3', 2], ['Publications of the Field Museum of Natural History, Zoölogical', 1], ['Raffles Bulletin of Zoology', 6], ['Records of the Australian Museum', 1], ['Records of the Western Australian Museum', 2], ['Records of the Zoological Survey of India', 1], ['Zootaxa', 20], ['Other (1)', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=42)', 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);