2 ms·
You'll probably want to use D3 to build a React component. The component provides the API to the rest of your application, while D3 takes over dataviz heavy li
by saidajigumi 10y ago
You'll probably want to use D3 to build a React component. The component provides the API to the rest of your application, while D3 takes over dataviz heavy lifting inside the component.
The most interesting aspect, which applies to apps beyond React, is likely to be respecting the D3 selections API[1], if needed. If you're already familiar with the ins and outs of selections, then I wouldn't expect any particular problems.
[1] https://github.com/d3/d3/blob/master/API.md#selections-d3-selection https://github.com/d3/d3/blob/master/API.md#selections-d3-se...