A simple and interactive Graph Generator built with Python.
This project allows you to input values and generate different types of graphs (line, bar, scatter, etc.) for easy visualization and analysis.
- Generate graphs by providing values as input
- Supports Line Chart, Bar Chart, Scatter Plot
- Customizable labels, titles, and colors
- Beginner-friendly and easy to run
- Built with matplotlib
graph-generator/
βββ main.py # Main script to run the project
βββ graph\_generator.py # GraphGenerator class
βββ requirements.txt # Required dependencies
βββ README.md # Project documentation
-
Download the project
- clone the repository:
git clone https://github.com/Sintuhazarika55/GraphGeneratorPy.git cd graph-generator
- clone the repository:
-
Create a virtual environment (optional but recommended):
python -m venv venv source venv/bin/activate # On Mac/Linux venv\Scripts\activate # On Windows
-
Install dependencies:
pip install -r requirements.txt
Run the script:
python main.pyYouβll be prompted to enter values, and the program will generate a graph based on your input.
Example:
Enter X values: 1, 2, 3, 4, 5
Enter Y values: 2, 4, 6, 8, 10
Choose graph type (line/bar/scatter): line
β A graph window will open displaying your chosen visualization.
Install them using:
pip install matplotlib(Line chart example)
Contributions, issues, and feature requests are welcome ! Feel free to fork this repo and submit a pull request.
This project is licensed under the MIT License β see the LICENSE file for details.
Created by Sintu Hazarika
