Question 4: CSV|Chart

Jake manages a community gym and wants to track the fitness progress of gym members. He plans to collect data on their workouts, diet, and goals. Additionally, Jake wants to visualize the data to help motivate members and show their progress over time.

Scenario:

Jake’s tasks involve several steps:

  1. Collect Fitness Data:

    • Jake needs to gather data from each member, including workout hours, calories consumed, and weight goals.
  2. Save Data to CSV:

    • After collecting the data, Jake will save this information to a CSV file named fitness_data.csv.
  3. Visualize Fitness Data:

    • Jake wants to create bar charts to visualize the average workout hours, calories consumed, and weight goals for each member.

Let’s create a Python program to help Jake with his tasks.

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