Sorting Visualizer
An interactive React-based visualizer for popular sorting algorithms that animates comparisons and swaps to help users understand each algorithm step by step.
Tools:
React.js
Short Explanation
This sorting visualizer allows users to generate a random array of bars, adjust the array size dynamically, and watch algorithms like Merge Sort, Bubble Sort, and Insertion Sort operate in real time. Live animations highlight comparisons and swaps step by step, providing a clear, visual way to learn how each sorting algorithm works.
Tech Stack Used
- React.js: A frontend library used to build dynamic user interfaces, manage state, and render components efficiently.
Image Preview
A quick look at some UI shots from the project:


Lessons Learned
- Working on this project helped me understand the inner workings of multiple sorting algorithms by implementing them and visualizing each step. I learned how to manage state in React for live animations, handle dynamic array sizes efficiently, and create an interactive UI that clearly communicates algorithm logic. This project strengthened both my algorithmic thinking and frontend skills.