r3.js react + d3 basic charts