An interactive web-based tool to visualize and learn fundamental data structures through animations and hands-on operations.
- Interactive Visualizations: See data structures in action with real-time visual feedback
- Multiple Data Structures: Comprehensive coverage of fundamental data structures
- User-Friendly Interface: Clean, intuitive design with easy-to-use controls
- Educational Tool: Perfect for students learning data structures and algorithms
- No Dependencies: Pure HTML, CSS, and JavaScript - no frameworks required
- Responsive Design: Works on desktop and mobile devices
- Enqueue: Add elements to the rear
- Dequeue: Remove elements from the front
- Peek: View the front element without removing it
- Visual representation of queue overflow and underflow
- Push: Add elements to the top
- Pop: Remove elements from the top
- Peek: View the top element
- Visual demonstration of stack operations
- Fixed-size collection
- Index-based access
- Insert and delete operations
- Visual representation of array elements
- Dynamic resizing capability
- Add and remove operations
- Automatic capacity management
- Visualize array growth
- Singly linked list implementation
- Insert at beginning, end, or specific position
- Delete operations
- Visual representation of node connections
- Parent node larger than children
- Heapify operations
- Extract maximum element
- Visual tree representation
- Parent node smaller than children
- Heapify operations
- Extract minimum element
- Visual tree representation
-
Clone the repository
git clone https://github.com/lil-hassan/dsa-visualizer.git
-
Navigate to the project directory
cd dsa-visualizer -
Open in browser
- Simply open
index.htmlin your web browser
- Simply open
- Launch the Application: Open
index.htmlin your browser - Select a Data Structure: Click on any data structure card from the home page
- Perform Operations:
- Use the input field to enter values
- Click operation buttons (Enqueue, Push, Insert, etc.)
- Set size constraints where applicable
- View real-time visual updates
- Enter: Quick submit/add operation
- Delete: Quick remove operation (on applicable structures)
- Students: Learn data structures through interactive visualization Self-Learning: Explore data structures
dsa-visualizer/
├── index.html # Main landing page
├── home-style.css # Global styles
├── home-script.js # Navigation logic
├── assets/ # Images and icons
│ ├── queue.png
│ ├── stack.png
│ ├── array.png
│ └── ...
├── queue/
├── stack/
├── array/
├── arraylist/
├── linkedlist/
├── max-heap/
├── min-heap/
└── README.md