Skip to content

A simple Python-based Graph Generator that allows users to input values and automatically generates graphs for better visualization. Supports multiple graph types such as line charts, bar charts, and scatter plots. Useful for students, data enthusiasts, and developers who want quick and customizable visualizations.

License

Notifications You must be signed in to change notification settings

Sintuhazarika555/GraphGeneratorPy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“Š Graph Generator in Python

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.


πŸš€ Features

  • 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

πŸ“‚ Project Structure


graph-generator/
│── main.py            # Main script to run the project
│── graph\_generator.py # GraphGenerator class
│── requirements.txt   # Required dependencies
│── README.md          # Project documentation


⬇️ Download & Installation

  1. Download the project

    • clone the repository:
      git clone https://github.com/Sintuhazarika55/GraphGeneratorPy.git
      cd graph-generator
  2. Create a virtual environment (optional but recommended):

    python -m venv venv
    source venv/bin/activate   # On Mac/Linux
    venv\Scripts\activate      # On Windows
    
    
  3. Install dependencies:

    pip install -r requirements.txt

▢️ Usage

Run the script:

python main.py

You’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.


πŸ“¦ Dependencies

Install them using:

pip install matplotlib

πŸ“Έ Example Output

(Line chart example)

Graph Example


🀝 Contributing

Contributions, issues, and feature requests are welcome ! Feel free to fork this repo and submit a pull request.


πŸ“œ License

This project is licensed under the MIT License – see the LICENSE file for details.


✨ Author

Created by Sintu Hazarika


About

A simple Python-based Graph Generator that allows users to input values and automatically generates graphs for better visualization. Supports multiple graph types such as line charts, bar charts, and scatter plots. Useful for students, data enthusiasts, and developers who want quick and customizable visualizations.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages