function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annals of the Carnegie Museum', 1], ['Check List', 2], ['Copeia', 2], ['Ichthyological Exploration of Freshwaters', 1], ['Monatsberichte der Akademie der Wissenschaft zu Berlin', 1], ['Papéis Avulsos de Zoologia', 1], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 1], ['Wolfgang Gerle', 1], ['Zootaxa', 18] ]); 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);