Hacker News new | past | comments | ask | show | jobs | submit login

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.




It'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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: