function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Anales del Museo Nacional de Historia Natural de Buenos Aires', 1], ['Annales du Muséum d\'Histoire Naturelle, Paris', 1], ['Annals of the Entomological Society of America', 1], ['Biodiversity Data Journal', 4], ['Bishop Museum Occasional Papers', 1], ['Insect Systematics and Diversity', 1], ['Journal of Hymenoptera Research', 23], ['Journal of Natural History', 13], ['Mem. Carnegie Mus', 1], ['The Journal of the Linnean Society of London, Zoology', 2], ['Transactions of the Entomological Society of London', 13], ['ZooKeys', 5], ['Zootaxa', 169] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=235)', 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);