Skip to content

Sorting Visualizer is a web-based tool that allows users to visualize different sorting algorithms in action. It provides an interactive way to understand how sorting techniques like Bubble Sort, Selection Sort, and Quick Sort work.

Notifications You must be signed in to change notification settings

ritikkumar55/Sorting-Visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sorting Visualizer

Sorting Visualizer is a web-based tool that allows users to visualize different sorting algorithms in action. It provides an interactive way to understand how sorting techniques like Bubble Sort, Selection Sort, and Quick Sort work.

✨ Features

  • 🎨 User-Friendly Interface – Simple and clean UI.
  • 🔄 Multiple Sorting Algorithms – Supports Bubble Sort, Selection Sort, and Quick Sort.
  • 📊 Real-Time Visualization – Watch sorting operations step by step.
  • 🎛️ Customizable Array Size – Users can generate new arrays of different sizes.
  • Smooth Animations – Interactive animations for better understanding.

🚀 Technologies Used

  • HTML5 – Structure of the web page.
  • CSS3 – Styling and animations.
  • JavaScript (ES6) – Logic and interactivity.
  • DOM Manipulation – Dynamic element updates.

📥 Installation & Setup

  1. Clone the repository:
    git clone https://github.com/your-username/sorting-visualizer.git
  2. Navigate to the project directory:
    cd sorting-visualizer
  3. Open index.html in a browser to run the project.

🛠️ How to Use

  1. Select a sorting algorithm from the dropdown.
  2. Set the number of elements to sort.
  3. Click "Generate New Array" to create a random array.
  4. Click "Solve" to start sorting.
  5. Watch the bars swap positions as the sorting algorithm runs!

📸 Screenshots

Screenshot{width=300px height=200px}

🌟 Future Enhancements

  • Add more sorting algorithms (Merge Sort, Heap Sort, etc.).
  • Improve UI/UX with better animations.
  • Add time and space complexity display for each algorithm.

🎯 Contributing

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

🚀 Happy Coding!

About

Sorting Visualizer is a web-based tool that allows users to visualize different sorting algorithms in action. It provides an interactive way to understand how sorting techniques like Bubble Sort, Selection Sort, and Quick Sort work.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published