Hacker News new | ask | show | jobs
by snappy173 3639 days ago
I wrote a react component to map react props to D3 accessor functions, and then use the react lifecycle functions to trigger D3 redraw.

http://bl.ocks.org/cpapazian/6228888157c39be85e9c (please excuse the coffeescript)

However, it looks like the work to modularize D3 will make it much, much easier to have the render function produce SVG markup directly.