Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Anshsing/sorting-visualizer

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ”₯ Algorithm Visualizer

Demo

An interactive Sorting Algorithm Visualizer built with React that helps users understand how different sorting algorithms work through real-time animations.


πŸš€ Features

  • 🎯 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

πŸ› οΈ Tech Stack

  • Frontend: React (Functional Components + Hooks)
  • Styling: CSS (Flexbox + Transitions)
  • Core Concepts:
    • Async/Await for animations
    • State-driven rendering
    • Algorithm visualization logic

πŸ“‚ Project Structure

/src
β”œβ”€β”€ App.jsx
β”œβ”€β”€ styles.css

πŸ–₯️ Installation & Setup

git clone https://github.com/your-username/algorithm-visualizer.git
cd algorithm-visualizer
npm install
npm start

⭐ Show Your Support

Give it a ⭐ if you like it!


πŸ“¬ Contact

Created by Ansh Singh

About

πŸš€ A React-based Algorithm Visualizer that demonstrates how sorting algorithms work through step-by-step animations. Features real-time comparison counting, color-coded states (active, pivot, sorted), and adjustable speed/size controls for an interactive learning experience.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.