Visual demonstrations of common sorting algorithms. The interface now relies on Chart.js together with D3.js for rendering graphs, replacing the older nvd3 library. Chart.js is bundled directly with the application's code instead of being loaded via a separate script tag.
This project requires Node.js version 20 or higher. The requirement is
enforced via the engines field in package.json.
Install the dependencies:
npm installBuild the project with:
npm run buildRun the development build and watch for changes with:
npm run build:watchBoth commands output the bundled file into the dist/ directory which is
referenced by index.html.
Execute the Karma test suite:
npm testThe tests run in a jsdom environment so no browser installation is required.
Run Prettier to check code style:
npm run lintAutomatically fix formatting issues with:
npm run format