News for hackers. Stuff that matters.
Re:D4 – Declarative Data-Driven Documents by olmo on Monday July 18, 2016 @02:02PM (#12116911)
D3 is more declarative than jQuery, but not so much as React.

selection.enter().append("div").attr("class", "bar") .style("height", function(d){ return d + "px"; }) .style(“margin-top”, function(d){ return (100 — d) + "px"; });

enter is not imperative, but what you write just afterwards is.

There are no comments on this comment yet.