probably using d3.js under-the-hood?
(most complex web visuals do – and a lot of high-level charting libraries are usually built atop of it too)
used to be difficult to learn, but with the help of LLM’s, it’s probably a lot more beginner friendly now (hopefully)
https://d3js.org/