function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin of Carnegie Museum of Natural History', 2], ['Bulletin of the American Museum of Natural History', 1], ['Geodiversitas', 1], ['Memoirs of the American museum of Natural History', 1], ['Mesozoic and Cenozoic Red Beds of South China: Selected Papers from the " Cretaceous-Tertiary Workshop ", Institute of Vertebrat', 1], ['Special papers in palaeontology', 2], ['The American Midland Naturalist', 2], ['The Dinosauria', 2], ['Zootaxa', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=13)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 9, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);