Skip to content

vdesai-dev/plot-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Plot Generator

This project generates several types of plots from a sample dataset and saves them as PNG files.

Description

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

Dependencies

The following Python libraries are required:

  • pandas
  • matplotlib

You can install them using pip:

pip install -r requirements.txt

Usage

To generate the plots, run the plot_generator.py script:

python plot_generator.py

This will create the following files in your project directory:

  • line_plot.png
  • bar_chart.png
  • scatter_plot.png
  • histogram.png
  • pie_chart.png

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages