function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Scient. Inst. Latinoamercana Fisiol. Reprod.', 1], ['Boletin de la Academia Nacional de Ciencias, Cordoba', 1], ['Bulletin of the American Museum of Natural History', 1], ['Geodiversitas', 3], ['Memoirs of the Museum of Comparative Zoology, at Harvard College', 4], ['Neotropica, La Plata', 2], ['Neotropical Ichthyology', 4], ['Raffles Bulletin of Zoology', 1], ['Zootaxa', 41] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=58)', 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);