function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Comun. Mus. Ciênc. Tecnol. PUCRS, Sér. Zool.', 4], ['Neotropical Ichthyology', 4], ['Revista del Museo de La Plata, Sección Zoologia', 1], ['Revue Suisse de Zoologie', 1], ['Vertebrate Zoology', 2], ['Zoological Journal of the Linnean Society', 3], ['Zoosystematics and Evolution', 1], ['Zootaxa', 61], ['aqua, International Journal of Ichthyology', 1], ['aqua, Journal of Ichthyology and Aquatic Biology', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=80)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);