function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 1], ['Annals and Magazine of Natural History, Including Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany ', 1], ['Arachnida', 6], ['Bulletin of the American Museum of Natural History', 1], ['Comptes Rendus Biologies', 2], ['Euscorpius', 140], ['Onychium', 1], ['VERLAG VON LEOPOLD VOSS, BUCHHAENDLER D. K. ACADEHIE D. WISSENSCHAFTEN ZU ST. PETERSBURG', 1], ['ZooKeys', 39], ['Zoodiversity', 4], ['Zootaxa', 30] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=226)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 11, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);