function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 7], ['Bulletin of the American Museum of Natural History', 8], ['Check List', 6], ['Comparative Cytogenetics', 3], ['Journal of Vertebrate Paleontology', 3], ['Krieger', 1], ['PhytoKeys', 1], ['Phytotaxa', 1], ['The Science of Nature', 1], ['Utah Geological Survey, Miscellaneous Publication', 1], ['Vertebrate Zoology', 10], ['ZooKeys', 1], ['Zoosystema', 1], ['Zootaxa', 62] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=106)', 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);