I have a list of 'nodes' and each node contains an array of elements:
[{x: 45, y: 12, things: ['first', 'second', third']}
[x: 12, y: 67, things: ['fourth, 'random', 'another']}]
I've been able to render each of these nodes as a rectangle with d3 inside an svg element. Now I want to display the list 'things' within each node.
+--------+
| first |
| second |
| third |
+--------+
This is different from most other answers I've seen on stackoverflow that deal with only rendering single texts (d3 add text to circle, d3 Node Labeling) How do I do this?