function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Berliner Entomologische Zeitschrift', 1], ['Berlingianis', 2], ['Biodiversity Data Journal', 4], ['Diptera Sveciae', 2], ['Geodiversitas', 1], ['Insecta Mundi', 1], ['Insects of Guam-II', 2], ['Journal of Natural History', 3], ['Linzer biologische Beiträge', 1], ['Proceedings of the Hawaiian Entomological Society', 1], ['Transactions of the American Entomological Society', 5], ['Transactions of the Entomological Society of London', 4], ['ZooKeys', 5], ['Zoological Systematics', 4], ['Zootaxa', 55], ['Other (4)', 4] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=95)', 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);