Skip to content

shravya1125/DSA-Algorithm-Visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DSA Visualizer Web App

React DSA

Overview

This project is an interactive web application that visually demonstrates core Data Structures and Algorithms like:

  • Sorting (Bubble, Merge, Quick)
  • Tree Traversals (Inorder, Preorder, Postorder, Level Order)
  • Graph Algorithms (BFS, DFS, Dijkstra)

Built to help students, educators, and engineers see how algorithms work in real-time.


Features

✅ Clean and minimal UI built with ReactJS
✅ Step-by-step animation for each algorithm
✅ Custom input support with instant visualization
✅ Code + Pseudocode display for learning
✅ Adjustable speed and size of data
✅ Modular structure to add new algorithms easily


Live Demo

Algorithm-playground-demo.mp4

Tech Stack

Technology Purpose
React.js UI Framework
JavaScript Core logic for algorithms
HTML/CSS Layout and styling
Framer Motion / GSAP Smooth animations
Vite / Webpack Build tools

How to Run Locally

  1. Clone this repo
    git clone https://github.com/yourusername/DSA-Visualizer.git
    cd DSA-Visualizer
    
  2. Install dependencies
    npm install
    
  3. Start development server
    npm run dev
    
  4. Open in browser

Algorithms Implemented

Category Algorithms
Sorting Bubble, Selection, Insertion, Merge, Quick
Trees DFS (Preorder, Inorder, Postorder), BFS
Graphs BFS, DFS, Dijkstra’s (Coming Soon)
Searching Binary Search (Upcoming)

Learning Outcomes

Mastery over DSA fundamentals

Strong grasp of algorithm visualization and simulation

Real-world application of React component structure and state management

Enhanced problem-solving + front-end integration

Future Enhancements

Add heap, trie, disjoint sets

Improve accessibility and mobile responsiveness

Add code export/download option

User-selectable themes (dark/light)

Upload test cases as .json files