function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annals of Natural History; or, Magazine of Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany and Zoo', 1], ['Archiv für Molluskenkunde', 2], ['Proceedings of the Zoological Society of London', 1], ['Publications of the Carnegie Institution of Washington', 1], ['Visaya', 15], ['Zoosystema', 2], ['Zoosystematics and Evolution', 1], ['Zootaxa', 185] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=208)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 8, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);