JavaScript libraries have fabulous opportunities to include demos in their documentation. Here's a machine learning library that has a demo of agents exploring the home page!
Fabulous article demonstrating how to write a chess AI, including several interactive demos!
https://medium.freecodecamp.org/simple-chess-ai-step-by-step-1d55a9266977
It also shows the importance of a big ecosystem. There are already JS libraries for computing legal moves and showing a chess UI, so you can focus on the AI!
Really cute video demo of the hypertext documentation in Symbolics Lisp Machines: https://youtu.be/7DxYj32cvoE
The speaker carefully explains why links are a good thing! It also lists history in a pane (rather than a back button) and has a stronger notion of navigating hierarchies.
Fun research demonstration of multi agent completion for machine learning training. The content is interesting, but the cute visualisations really add to the effect: