How to add a custom Buffer Visualizer through Plugin?

I’ll check those out thnx.
i know you can, but I want it to be reuseable easily in other projects.