function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Arkiv för Zoologi', 1], ['Bulletin of the United States National Museum', 2], ['Copeia', 1], ['Fish. Res. Pap.', 1], ['Journal of the Fisheries Research Board of Canada', 1], ['Memoirs of the Carnegie Museum', 2], ['Proc. 4 th Pac. Sci. Congress, Java, 1929', 1], ['Proceedings of the California Academy of Sciences, Series 1', 1], ['Proceedings of the California Academy of Sciences, Series 2', 6], ['Proceedings of the United States National Museum, 3', 4], ['Rept. Comm. Fish. British Columbia', 1], ['Revista Chilena de Historia Natural', 1], ['Suikan-gakkai-shi', 1], ['The American Naturalist', 1], ['University of Washington Publications in Biology', 2], ['Other (1)', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=27)', 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);