This README provides information about a Python script designed to create a Gantt chart for a project titled "Automated Documentation Website Development." The script uses matplotlib for plotting and pandas for data handling.
To run this script, you need the following libraries:
- matplotlib
- pandas
Ensure these are installed in your Python environment. You can install them using pip:
pip install matplotlib pandas
The script performs the following key steps:
- Define Project Phases: It starts by defining the different phases of the project along with their timelines.
- Data Preparation: Converts the phases into a pandas DataFrame and processes the dates for plotting.
- Gantt Chart Creation: Utilizes
matplotlibto create a Gantt chart visualizing the timeline of each project phase.
- Ensure that you have Python installed on your system.
- Install the required libraries (matplotlib, pandas).
- Run the script in your Python environment.
- Import Statements: Imports required modules (
matplotlib,matplotlib.dates, andpandas). - Project Phases Definition: A dictionary
phasesholds the phases and their dates. - DataFrame Creation: Converts the
phasesdictionary into a pandas DataFrame. - Date Processing: The start and finish dates are converted from strings to datetime objects.
- Gantt Chart Plotting: The script plots a Gantt chart using
matplotlib, showing the duration of each phase.
Upon execution, the script displays a Gantt chart with the following features:
- Horizontal bars representing each phase's duration.
- Custom labels and title.
- Date formatting for clear understanding of the timeline.
You can customize the script by modifying the phases dictionary to reflect your project's timeline.
This script is provided as-is for educational purposes. Users are encouraged to modify and adapt it as per their project needs.
