function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 1], ['Anales de la Sociedad EspaƱola de Historia Natural', 1], ['Journal of the Washington Academy of Sciences', 1], ['North Carolina Geological and Economical Survey, Raleigh', 1], ['Papers from the Tortugas Laboratory of the Carnegie Institute of Washington', 1], ['Proceedings of the California Academy of Sciences, Series 2', 1], ['Proceedings of the United States National Museum, 3', 1], ['Publications of the Field Museum of Natural History, Zoƶlogical', 1], ['Zootaxa', 10] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=18)', 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);