function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Beaufortia', 1], ['Bulletin de l\'Institut Royal des Sciences Naturelles de Belgique, Biologie', 1], ['Bulletin of Marine Science', 2], ['Crustaceana', 2], ['Journal of Marine Systems', 1], ['Journal of Natural History', 17], ['Journal of Plankton Research', 1], ['Journal of natural history', 1], ['Journal of the Marine Biological Association', 1], ['Mitteilungen aus dem Zoologischen Museum in Berlin', 1], ['Proceedings of the Biological Society of Washington', 1], ['Proceedings of the Japanese Society of Systematic Zoology', 1], ['Zootaxa', 33] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=63)', 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);