function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 1], ['Entomological News and Proceedings of the Entomological Section of the Academy of Natural Sciences of Philadelphia', 1], ['Faunus (Gistel\'s)', 1], ['Journal N Y Ent Soc', 1], ['Magazin fu ̈ r insektenkunde / herausgegeben von Karl Illiger', 1], ['Proceedings of the United States National Museum, 3', 1], ['Program der Königlichen Realschule zu Meseritz', 1], ['Tijdschr Ent', 1], ['West, Newman, & Co', 1], ['Zootaxa', 12] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=21)', 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);