Question 5: CSV|Chart

Lily runs a local book club and wants to track the reading progress of each member. She plans to collect data on the number of books read, the total pages read, and the members’ favorite genres. Additionally, Lily wants to visualize this data to encourage members and celebrate their achievements.

Scenario:

Lily’s tasks involve several steps:

  1. Collect Reading Data:

    • Lily needs to gather data from each member, including the number of books read, the total pages read, and their favorite genres.
  2. Save Data to CSV:

    • After collecting the data, Lily will save this information to a CSV file named reading_progress.csv.
  3. Visualize Reading Data:

    • Lily wants to create bar charts to visualize the average number of books read, total pages read, and the distribution of favorite genres among members.

Let’s create a Python program to help Lily with her tasks.

 
Write what you are looking for, and press enter to begin your search!