3 ms·
You are in the minority. Having taught it, I've seen students struggle. Creating markup through chained functions executed as many times as there are items in
by colinmegill 10y ago
You are in the minority. Having taught it, I've seen students struggle.
Creating markup through chained functions executed as many times as there are items in an array, where the convention is to name the array singularly:
ie., node.append('g')
is counterintuitive.
- krebby 10y agoIt's definitely a steeper learning curve than simply creating a node and appending to the DOM (the d3-specific idioms are particularly obtuse) but it's not insurmountable.