The Sorting Visualizer is a simple web application that allows you to visualize sorting algorithm in action. It provides a visual representation of the sorting process, making it easier to understand how these algorithms work and how they affect the order of elements in a collection.
-
Visualize popular sorting algorithm Mergesort
-
Clear and regenerate the array for a new sorting run
Clone the project
git clone https://github.com/abhi280403/sorting-visualizer.gitGo to the project directory
cd my-projectInstall dependencies
npm installStart the server
npm run startFront-end: html,css,javascript
- Upon opening the Sorting Visualizer, you will see a two buttons named merge sort and generate new array
- upon pressing generate new array every time you can get the new array every time
- upon pressing the button merge sort u can visualize the merge sort on the screen with different colors.
- The heights of bars on the screen represent the elements of array.
