DSA Visualizer is a web application that helps visualize various data structures and algorithms. It provides an interactive way for users to understand how different data structures work and how algorithms are executed step-by-step. Additionally, it features a chatbot for text generation and a playground for running and compiling code.
To run this project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/Rohitkhot1718/DSA_Visualizer.git
-
Navigate to the project directory:
cd DSA_Visualizer
-
Install dependencies:
npm install express @google/generative-ai
- Open package.json and update dependencies.
-
API Key:
- Open
server.js
and paste Google Generative AI API Key.
- Open
-
Start the server:
node ./Chatbot/Server/server.js
- Run the
server.js
to get response from chatbot
- Run the
-
Opening Webpage:
- Open the
form.html
and click the live server or preview the page.
- Open the
- Interact with the visualizer to explore different data structures and algorithms.
- Use the chatbot to generate text and code to get explanations about data structures and algorithms.
- Utilize the code playground to write, run, and test code snippets.
- Data Structures: Visualize various data structures such as arrays, linked lists, stacks, queues, trees, graphs, etc.
- Algorithms: Understand the execution of algorithms like sorting, searching, and traversal.
- Interactive: Step-by-step visualization for better understanding.
- Chatbot Integration: Use a chatbot to generate explanations and help users understand concepts.
- Code Compiler/Playground: Write, run, and test code snippets directly in the browser.
Contributions are welcome! Please fork the repository and create a pull request with your changes.
- Fork the repository
- Create a new branch (
git checkout -b feature/your-feature-name
) - Commit your changes (
git commit -m 'Add some feature'
) - Push to the branch (
git push origin feature/your-feature-name
) - Create a pull request
- Click this link to preview the page https://UDDITwork.github.io/DSA_Visualizer/
Developed by: Uddit [email protected] [email protected]
This project is licensed under the MIT License. See the LICENSE file for details.
For more details, visit the DSA Visualizer GitHub page.