Skip to content

AlgoVisualizer is a web-based, interactive platform designed to help users understand complex Data Structures and Algorithms (DSA) by visualizing their step-by-step execution. Built with React and Tailwind CSS, it provides a clean, modern, and intuitive interface for learning.

License

Notifications You must be signed in to change notification settings

mahaveergurjar/AlgoVisualizer

🎨 AlgoVisualizer

Banner

An Interactive Platform for Visualizing Algorithms and Data Structures
Live Demo β€’ Report Bug β€’ Request Feature


🌟 Overview

AlgoVisualizer is a modern web application that helps students and developers understand Data Structures and Algorithms through real-time visualizations.
Built with React, Vite, and Tailwind CSS, it offers a smooth, interactive, and visually appealing way to learn complex concepts.


✨ Features

  • 🎯 Real-Time Visualizations β€” See algorithms in action step-by-step
  • πŸš€ Interactive Controls β€” Play, pause, and control execution speed
  • πŸ’» Code & Complexity Views β€” Learn the logic behind the scenes
  • 🧠 AI Learning Assistant β€” Powered by Google Gemini API
  • 🎨 Modern UI β€” Responsive, minimal, and distraction-free
  • πŸ“š Comprehensive Coverage β€” Sorting, graph, recursion, and more

πŸ› οΈ Tech Stack

Technology Purpose
React Frontend framework
Vite Build tool & dev server
Tailwind CSS Styling
JavaScript Algorithm logic
Vercel Deployment

πŸ“ Project Structure

AlgoVisualizer/
β”œβ”€β”€ public/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ components/
β”‚   β”œβ”€β”€ pages/
β”‚   β”œβ”€β”€ search/
β”‚   β”œβ”€β”€ App.jsx
β”‚   β”œβ”€β”€ main.jsx
β”‚   └── index.css
β”œβ”€β”€ package.json
β”œβ”€β”€ vite.config.js
└── README.md

πŸš€ Quick Start

1️⃣ Prerequisites

  • Node.js v14+
  • npm v6+ or yarn

2️⃣ Installation

git clone https://github.com/mahaveergurjar/AlgoVisualizer.git
cd AlgoVisualizer
npm install

3️⃣ Setup API Key

echo "VITE_GEMINI_API_KEY=your_api_key_here" > .env

Get a free API key from Google AI Studio

4️⃣ Run the App

npm run dev

Open β†’ http://localhost:5173

5️⃣ Build for Production

npm run build

πŸ€– AI Learning Assistant

AlgoVisualizer integrates Google Gemini API to answer algorithm-related questions directly in the app.

Example Questions:

  • β€œExplain Merge Sort step-by-step.”
  • β€œDifference between BFS and DFS.”
  • β€œWhat’s the time complexity of Quick Sort?”

πŸ“Έ Screenshots

Algorithm Visualization Example


πŸ“š Learning Resources


🀝 Contributing

We love contributions from the community!
Please read our Contributing Guide to learn how to set up the project, follow coding standards, and make effective pull requests.


πŸ“œ License

This project is licensed under the MIT License β€” see the LICENSE file for details.


πŸ‘¨β€πŸ’» Author

Mahaveer Gurjar
GitHub: @mahaveergurjar
Project: AlgoVisualizer


⭐ If you find this project helpful, please give it a star on GitHub! ⭐

About

AlgoVisualizer is a web-based, interactive platform designed to help users understand complex Data Structures and Algorithms (DSA) by visualizing their step-by-step execution. Built with React and Tailwind CSS, it provides a clean, modern, and intuitive interface for learning.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 60

Languages