31 January 2014

Data binding in d3 and AngularJS

It seems d3 sees itself as kind of a data binding library, that happens to be good at visualisations. This usually confuses newbies to no end, but makes sense once you get the hang of d3. But bindings are also a core pillar of Angular’s way of working. So using both leads us to having two duelling libraries, both trying to control the DOM. In order to get what we want, we need to understand both and use both. This doesn’t feel right. – Alexandros Marinos

A wonderfully clear article that puts its finger on the weirdness I’ve been feeling in putting angular and d3 together. Here’s the whole article