function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Boletím Científico Centro de Museos Museo de Historia Natural', 1], ['Boletín Científico - Centro de Museos - Museo de Historia Natural', 3], ['Check List', 2], ['Florida Entomologist', 5], ['Journal of Natural History', 7], ['L’Entomologiste', 1], ['Neotropical Entomology', 1], ['Revista Nicaraguense de Entomologia', 1], ['Revista del Colegio National Vicente Rocafuerte', 1], ['The Southwestern Naturalist', 2], ['ZooKeys', 15], ['Zoosystema', 3], ['Zootaxa', 35] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=77)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 13, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);