This project generates several types of plots from a sample dataset and saves them as PNG files.
The plot_generator.py script uses the pandas and matplotlib libraries to create the following plots:
- Line Plot: Sales and Expenses Over Time
- Bar Chart: Sales per Year
- Scatter Plot: Customers vs. Sales
- Histogram: Distribution of Sales
- Pie Chart: Sales by Category
The following Python libraries are required:
- pandas
- matplotlib
You can install them using pip:
pip install -r requirements.txtTo generate the plots, run the plot_generator.py script:
python plot_generator.pyThis will create the following files in your project directory:
line_plot.pngbar_chart.pngscatter_plot.pnghistogram.pngpie_chart.png