function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Ichthyologica et Piscatoria', 2], ['Bulletin of the Scripps Institution of Oceanography of the University of California', 2], ['Cybium', 3], ['Discovery Reports', 2], ['European Journal of Taxonomy', 3], ['Journal Imp. Fish. Inst. Tokyo', 4], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 5], ['Proceedings of the California Academy of Sciences, Series 1', 3], ['Proceedings of the United States National Museum, 3', 12], ['Proceedings of the Zoological Society of London, B', 2], ['Report of the British Association for the Advancement of Science', 2], ['Sitzungsberichte der Gesellschaft Naturforschender Freunde zu Berlin', 5], ['The Pacific', 3], ['Voprosy Ikhtiologii', 2], ['Zootaxa', 97], ['Other (29)', 29] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=176)', 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);