This project consists of two Python scripts for managing and visualizing student attendance data from the Human-Computer Interaction (HCI) course.
The project includes:
-
attendance.py
Generates a CSV file (attendance_data.csv) that contains weekly attendance data. -
attendance_visualizer.py
Reads the CSV file and creates a bar chart showing the number of students present and absent each week.
Week,Present,Absent
1,39,1
2,40,0
3,37,3
4,39,1
5,40,0
...
16,40,0Below is an example of the chart generated by the program:
- Run the generator script to create the CSV file:
python attendance.py
- Run the visualizer script to display the attendance chart:
python attendance_visualizer.py
Make sure you have these installed:
pip pandas matplotlibThis project demonstrates basic data handling and visualization in Python. It can be used to understand:
- How to generate and manage CSV files
- How to visualize structured data using matplotlib
- Simple real-world data analysis workflows
Python Attendance Visualizer Pandas Matplotlib Math Data Science Portfolio
Author: @g3raldatsc

