Well, there are pure JavaScript (no library) methods.. but I believe
they are dependent on browser. Google found a few good tutorials on
this for me. Obviously an extremely common task. But yes, this may
be more manual than you want. I have 0 experience with Michikit, and
I'm pretty sure D3 does not have the ability to do this with the
window.
Good luck