This project is a sorting algorithm visualizer that allows you to see how different sorting algorithms work in real-time. It provides a visual representation of the sorting process, making it easier to understand and compare the efficiency of different algorithms.
- Real-time visualization of sorting algorithms
- Interactive user interface
- Adjustable array size and speed of visualization
- Multiple sorting algorithms to choose from
- HTML, CSS, and JavaScript for the front-end
- React.js for building the user interface
- D3.js for data visualization
- Bootstrap for styling
- Git for version control
- GitHub Pages for deployment
- Bubble Sort
- Selection Sort
- Insertion Sort
- Merge Sort
- Quick Sort
- Heap Sort
To run the sorting algorithm visualizer locally, follow these steps:
- Clone the repository:
git clone https://github.com/your-username/sorting-visualizer.git
- Navigate to the project directory:
cd sorting-visualizer
- Install the dependencies:
npm install
- Start the development server:
npm start
- Open your browser and visit
http://localhost:3000
- Choose a sorting algorithm from the dropdown menu.
- Adjust the array size and visualization speed using the sliders.
- Click the "Sort" button to start the visualization.
- Observe the sorting process in real-time.
- Repeat steps 1-4 to compare different sorting algorithms.
Contributions are welcome! If you have any ideas or suggestions to improve this project, please feel free to submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for more details.