function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 19], ['Can Ent', 1], ['Entomologist\'s monthly magazine', 2], ['Japanese Journal of Systematic Entomology', 17], ['Journal of Natural History', 1], ['Journal of the Proceedings of the Linnean Society of London, Zoology', 2], ['Linzer biologische Beiträge', 5], ['Papéis Avulsos de Zoologia', 7], ['Raffles Bulletin of Zoology', 3], ['Revista del Museo Argentino de Ciencias Naturales, n. s.', 4], ['Species Diversity', 6], ['Tijdschrift voor Entomologie', 1], ['ZooKeys', 3], ['Zootaxa', 60] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=131)', 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);