This project is a Bubble Sort Visualizer developed using HTML, CSS, and JavaScript. It fetches data from the DummyJSON API, displays the values as bars, sorts them using the Bubble Sort algorithm with animation, and sends the sorted data to an API using a POST request.
- Fetches data using GET API
- Displays data as animated bars
- Bubble Sort visualization
- Speed control for sorting
- Displays swap count
- Sends sorted data using POST API
- Uses async/await and try...catch for API handling
- HTML
- CSS
- JavaScript
- DummyJSON API
https://dummyjson.com/products
https://dummyjson.com/products/add
- Download or clone the project.
- Open the project in VS Code.
- Run the project using Live Server.
- Click Generate Data.
- Click Sort to visualize Bubble Sort and send the POST request.
Chirag