function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Anzeiger', 1], ['Memoirs of the Carnegie Museum', 1], ['Neotropical Ichthyology', 18], ['Nova Acta Academiae Scientiarum Imperialis Petropolitana', 1], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 1], ['Revue française d\'Aquariologie Herpétologie', 3], ['Transactions of the Zoological Society of London', 1], ['Wolfgang Gerle', 1], ['Zoosystematics and Evolution', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=28)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 9, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);