function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Adansonia', 10], ['Annales du Jardin Botanique de Buitenzorg.', 1], ['Biodiversity Data Journal', 3], ['Botanische Jahrbücher fur Systematik, Pflanzengeschichte und Pflanzengeographie.', 1], ['Bulletin du Départment de L\'Agriculture aux Indes Néerlandaises', 2], ['European Journal of Taxonomy', 2], ['Journal of Natural History', 2], ['Laurentius Salvius', 1], ['Order out of Chaos. Linnaean Plant Types and their Types', 3], ['PhytoKeys', 1], ['Phytotaxa', 31], ['Zoological Journal of the Linnean Society', 1], ['Zootaxa', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=60)', 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);