efekarakus/d3-peaks

D3

moklick opened this issue · 4 comments

Hey,
I was wondering why this package has "d3" in its name. Is it somehow related to d3.js?

Hi Moritz,

Yes, that was the original intent! I wanted to follow Mike Bostock's "Let's make a D3 plugin" article while building this library.
So although it doesn't have any d3 dependencies atm, I think it can be thought of similarly to the d3-array module. I tried to follow a similar pattern of coding.

Here is an example of using it with d3js.

that was fast ;) I am maintaining a list with d3 plugins. That's why I am asking. I will put it under "utils". Even if it is not directly related to d3 there are a lot of use cases to use it with d3.

Thanks! I'll close the issue now if that's okay :)

sure. Thanks 👍