Closed wilkerlucio closed 7 years ago
@wilkerlucio would it be possible to create an example fiddle with some example data so I can have a look at it: https://fiddle.jshell.net/finnworks/fbjs3jkt/
Sure, well, I don't know how to create using Number Picture at this time, this is the farthest I could get: https://fiddle.jshell.net/5mLorn7y/ (trying to use the data as a function, so this example doesn't work but might be a start point if you wanna dive in).
Here is a working example of the same demo, using raw d3: https://codepen.io/wilkerlucio/pen/mMZWyN
You're right I agree thats an important feature. I'll work on having it in the next release
Ok its fixed in v0.4.2 and on npm https://fiddle.jshell.net/5mLorn7y/3/
Hello, I'm trying to port a code from pure d3 to Number Picture, it's all going great! But I did hit one wall, and that's about dynamic data for the
Collection
type, in my original d3 source I have this snippet:This what I'm trying to do with Number Picture:
Since d3 accepts functions on
data
I think it's a good idea to support here too. Or there is another way to accomplish this that I'm missing?Thanks.