function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 23], ['Boll Lab Ent Agrar F Silvestri', 1], ['Check List', 1], ['Entomologist\'s monthly magazine', 1], ['Insecta Mundi', 5], ['Journal of Hymenoptera Research', 11], ['Journal of Natural History', 115], ['Linzer biologische Beiträge', 2], ['Oriental insects', 1], ['Proceedings of the Entomological Society of Washington', 2], ['Proceedings of the Hawaiian Entomological Society', 2], ['Proceedings of the United States National Museum', 1], ['United States Department of Agriculture Technical Series Bulletin', 2], ['ZooKeys', 3], ['Zootaxa', 27], ['Other (2)', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=199)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);