An interactive Sorting Algorithm Visualizer built with React that helps users understand how different sorting algorithms work through real-time animations.
- 🎯 Visualize multiple sorting algorithms:
- Bubble Sort
- Selection Sort
- Insertion Sort
- Merge Sort
- Quick Sort
- 🎨 Color-coded animations:
- 🔴 Red → Elements being compared
- 🟣 Purple → Pivot (Quick Sort)
- 🟢 Green → Sorted elements
- ⚡ Adjustable controls:
- Array size
- Animation speed
- 📊 Live analytics:
- Real-time comparison counter
- 🧠 Educational UI:
- Legend for color meanings
- Step-by-step visual execution
- Frontend: React (Functional Components + Hooks)
- Styling: CSS (Flexbox + Transitions)
- Core Concepts:
- Async/Await for animations
- State-driven rendering
- Algorithm visualization logic
/src
├── App.jsx
├── styles.css
git clone https://github.com/your-username/algorithm-visualizer.git
cd algorithm-visualizer
npm install
npm startGive it a ⭐ if you like it!
Created by Ansh Singh

