function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin of the American Museum of Natural History', 2], ['Cybium', 1], ['European Journal of Taxonomy', 8], ['Japanese Journal of Ichthyology', 1], ['Masson', 1], ['Memoirs of the Museum of Comparative Zoology, at Harvard College', 1], ['Proceedings of the New England Zoölogical Club', 1], ['Proceedings of the Zoological Society of London, B', 2], ['Trans. N. Z. Inst.', 1], ['Voprosy Ikhtiologii', 2], ['Zoosystema', 1], ['Zootaxa', 28] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=49)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 12, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);