function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 2], ['Aqua, Journal of Ichthyology and Aquatic Biology', 5], ['Biodiversity Data Journal', 2], ['Copeia', 6], ['European Journal of Taxonomy', 2], ['Fieldiana Zoology, New Series', 2], ['Inst. Mar. Sci., Univ. Texas', 4], ['Journal of Natural History', 2], ['Monographs of the Academy of Natural Sciences of Philadelphia', 2], ['Pacific Science', 6], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 6], ['Proceedings of the United States National Museum, 3', 3], ['ZooKeys', 8], ['Zoologica', 3], ['Zootaxa', 38], ['Other (14)', 17] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=108)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);