|
|
|
|
|
by jwilber
1836 days ago
|
|
This. It’s literally just a matter of reordering variables, adding or removing a pair of parentheses, and removing the “return svg.node” call. People love to complain about free open-source documentation. Especially for d3 it seems. Shout out to Mike Bostock for all his awesome work. |
|
Relevant discussion: [0].
Let's look at the edit distance between [1] and [2]. Previous frustration at [3].
[0] https://news.ycombinator.com/item?id=27415725
[1] https://stackoverflow.com/questions/66966625/converting-obse...
[2] https://observablehq.com/@d3/contours
[3] https://talk.observablehq.com/t/i-want-to-learn-d3-i-don-t-w...