Sorting Visualizer
Watch sorting algorithms in action with colorful animated bar charts.
Category: Algorithms
·
v1.0.0
Comparisons
0
Swaps
0
Status
Ready
About This Simulator
This simulator visualizes how different sorting algorithms work step-by-step. Watch Bubble Sort, Selection Sort, Insertion Sort, and Quick Sort rearrange bars in real time. Compare their speed and behavior on random, nearly-sorted, and reversed data. A great way to build intuition about algorithm efficiency.
How It Works
- Choose a sorting algorithm from the dropdown
- Adjust the array size and animation speed with the sliders
- Click Shuffle to generate a new random array
- Click Sort to start the visualization
- Watch the bars rearrange — active comparisons are highlighted
- Try different algorithms and array sizes to compare performance