function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin of the National Science Museum, Series A, Zoology', 3], ['Conchylia', 1], ['Geodiversitas', 4], ['Geological Survey Professional Paper', 1], ['J. White', 1], ['Johan. Christi. Trappii', 9], ['K. K. Hof-naturalien-cabinet', 1], ['Laurentii Salvii', 1], ['Laurentius Salvius', 29], ['Proceedings of the Zoological Society of London', 2], ['Records of the Western Australian Museum', 1], ['Transactions of the Wagner Free Institute of Science of Philadelphia', 1], ['U. S. Geological Survey, Professional Paper', 1], ['Visaya', 18], ['Zootaxa', 35] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=108)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 15, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);