D3 7.0
github.com
D3 7.0
1–10 of 65 posts
Re: D3 7.0
#2Re: D3 7.0
#3Thank you Mike!
Re: D3 7.0
#4Re: D3 7.0
#5Standard JS modules, very nice! D3 now works in all playgrounds and libraries even as dependencies without non-standard tooling!
https://jsbin.com/ducosajehi/edit?html,output
I do wish they didn't even publish UMD, that's a recipe for duplication if some libraries import the module and some import the UMD.
Re: D3 7.0
#6Re: D3 7.0
#7I think the examples should have a JS native version in addition to the Observable implementation.
Re: D3 7.0
#8The one critique I have of D3 is that it is becoming increasingly closely paired with Observable, such that when I'm searching for examples of how to make something in d3, I can only find Observable examples that require the Observable runtime in order to function properly. I think the examples should have a JS native version in addition to the Observable implementation.
I'm super grateful that they provide such good documentation, which is second to none, in a nicely explorable environment.
Re: D3 7.0
#9The one critique I have of D3 is that it is becoming increasingly closely paired with Observable, such that when I'm searching for examples of how to make something in d3, I can only find Observable examples that require the Observable runtime in order to function properly. I think the examples should have a JS native version in addition to the Observable implementation.
That's a bit like complaining that there are examples on codepen. I'm super grateful that they provide such good documentation, which is second to none, in a nicely explorable environment.
d3, on the other hand, has converted most of their examples to Observable, which requires extensive research to convert back to JS (in the best case) and in the worst case requires reverse engineering the runtime.
I'm not the only one with this opinion, there are plenty of others who have struggled through similar issues and discussed it.
"The process of converting an Observable notebook to standalone html and/or js is clearly not as simple and copying and pasting. The use of Observable notebooks for all D3 examples has made the introduction to the library much more challenging for this reason." [0]
[0] https://stackoverflow.com/questions/53155957/convert-d3-obse...
[1]: https://talk.observablehq.com/t/i-want-to-learn-d3-i-don-t-w...
Re: D3 7.0
#10The one critique I have of D3 is that it is becoming increasingly closely paired with Observable, such that when I'm searching for examples of how to make something in d3, I can only find Observable examples that require the Observable runtime in order to function properly. I think the examples should have a JS native version in addition to the Observable implementation.