function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Boletín Científico - Centro de Museos - Museo de Historia Natural', 1], ['Check List', 3], ['Florida Entomologist', 1], ['Journal of Natural History', 3], ['Lambillionea', 3], ['Neotropical Entomology', 1], ['Revista Nicaraguense de Entomologia', 2], ['Revista del Colegio National Vicente Rocafuerte', 4], ['Zoosystema', 3], ['Zootaxa', 24] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=45)', 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);