function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Cahiers de Biologie Marine', 3], ['European Journal of Taxonomy', 26], ['Frontiers in Marine Science', 2], ['Journal of Natural History', 1], ['Marine Biodiveristy', 2], ['Marine Biodiversity', 1], ['Raffles Bulletin of Zoology', 6], ['Species Diversity', 2], ['Transactions of the American Microscopical Society', 1], ['Zoological Science', 2], ['Zoological Studies', 1], ['Zoologischer Anzeiger', 2], ['Zootaxa', 24] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=73)', 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);