33  Interactive HTMLs

The book uses Plotly.js interactive demonstrations through assets/rl-interactives.js. Each chapter places a <div> with a unique id, and the shared JavaScript file detects the id and draws the appropriate figure.

For example:

<div id="ch28-method-map" class="plotly-demo"></div>

The header file loads Plotly.js and MathJax for HTML rendering.