How to use D3.js to realize visual algorithm(quick sort)

Can someone can give me an example?

@curran maybe you can help?

@sukai-cheng This is a nice piece that uses D3 to visualize algorithms:

1 Like

Thank you very much, I benefit from this paper, but I’m still confused about how to visualize it in D3…it’s really a hard problem for me.

You can view the source code of that page to study how it works.

There’s also lots of good stuff in here: https://observablehq.com/search?query=algorithm