Sorting Visualizer is an interactive project that demonstrates how various sorting algorithms work using graphical visualization. This tool helps in understanding the working of sorting algorithms by displaying the step-by-step sorting process.
-
Supports multiple sorting algorithms:
-
Bubble Sort
-
Heap Sort
-
Quick Sort
-
Merge Sort
-
Radix Sort
-
-
Adjustable speed for visualization
-
Customizable array size
-
Interactive UI for better learning experience
- Programming Language: JavaScript
- Frontend: React
To run the Sorting Visualizer locally, follow these steps: Clone the repository:
git clone https://github.com/IndiraPriyadharshini-63/SortingVisualizer.git
Navigate to the project directory:
cd SortingVisualizer
Install dependencies:
npm install
Start the development server:
npm start
-
Click on the "Generate New Array" button to create a new set of numbers.
-
Select a sorting algorithm from the dropdown.
-
Click "Start Sorting" to visualize the sorting process.
-
Adjust the speed and array size using the provided sliders.
