function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annals and Magazine of Natural History', 13], ['Biodiversity Data Journal', 37], ['Bulletin de la Societe Vaudoise des Sciences Naturelles', 10], ['Capita Zoologica', 13], ['European Journal of Taxonomy', 14], ['Fundam. appl. Nematol.', 4], ['Journal of Natural History', 25], ['Journal of Plant Protection', 3], ['Khumbu Himal', 3], ['Meddelelser om Gronland', 5], ['Nematologica', 15], ['Nematology', 24], ['Pakistan Journal of Nematology', 4], ['ZooKeys', 3], ['Zootaxa', 36], ['Other (6)', 7] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=216)', 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);