function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['European Journal of Taxonomy', 1], ['Geo-Pal Uganda', 6], ['Journal d\'Histoire Naturelle', 1], ['Journal de Physique, de Chimie, d\'Histoire Naturelle et des Arts', 1], ['Molecular Phylogenetics and Evolution', 2], ['Oversigt over det Kongelige Danske Videnskabernes Selskabs Forhandlinger', 1], ['Raffles Bulletin of Zoology', 5], ['Renaud', 1], ['Schultz', 2], ['Scientific Reports', 6], ['Transactions of the geological society of London, 2', 4], ['Typ. Berlingianis', 2], ['Zoological Journal of the Linnean Society', 5], ['Zootaxa', 30] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=67)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 14, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);