Python for Introductory Statistics: Lab WorkbookXYZ Homework Edition

⇩ Download ▾

14.4 Visualization

Lab 14.4.1

The dataset below (URL) contains students test1_score, test2_score,test3_score, gender, level, section etc.

Write a Python code to display a frequency bar graph for section.

my_csv_file.csv

view answer

Lab 14.4.2

The dataset below (URL) contains students test1_score, test2_score,test3_score, gender, level, section etc.

Write a Python code to display a frequency pie chart for section.

my_csv_file.csv

view answer

Adapted from Python for Introductory Statistics: Student's Lab Workbook, by Simon Aman (Truman College, City Colleges of Chicago), licensed under CC BY 4.0. Changes were made: reformatted as an accessible XYZ web edition with live in-browser code cells. License: CC-BY-4.0.

These eBooks are a prerelease and are not yet certified conformant with WCAG 2.1 AA or any other accessibility standard. Every page is built against an automated accessibility gate, and our target for the published editions is WCAG 2.2 Level AA. If something is unusable, please tell us.