function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Botanical Magazine Tokyo', 1], ['Botanische Jahrbücher fur Systematik, Pflanzengeschichte und Pflanzengeographie.', 20], ['Edinburgh Journal of Botany', 1], ['J. Cramer', 1], ['Notes from the Royal Botanic Garden, Edinburgh, Horti Agrobotanici Cluj-Napoca', 6], ['PhytoKeys', 1], ['Phytotaxa', 3], ['Transactions of the Linnean Society of London, Second Series. Botany', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=36)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 8, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);