3 ms·
D3 has many parts. d3-selection (https://github.com/d3/d3-selection https://github.com/d3/d3-selection) is the only part that deals with the DOM (I think). It w
by tlrobinson 7y ago
D3 has many parts. d3-selection (https://github.com/d3/d3-selection https://github.com/d3/d3-selection) is the only part that deals with the DOM (I think). It wouldn't make much sense to use it with React, but the rest of D3 can easily be combined with React.
- zylepe 7y agoI agree, when I use d3 and react together I tend to use all of the non-DOM-manipulating d3 utilities for transforming data then react for rendering the DOM. D3 is a swiss army knife of utilities for data visualization, and as you point out only a small part of it deals with DOM manipulation.