js ui - react + d3.js