3 ms·
D3 can do this type of rendering, but d3 data joins and selections are often difficult for people to understand and master. The beauty of this approach is that
by sen_mendoza 7y ago
D3 can do this type of rendering, but d3 data joins and selections are often difficult for people to understand and master. The beauty of this approach is that it bypasses all that and uses map to loop through the geoJSON features creating each path element.
To me this is more readable and easy to understand, but you don't really need react to do any of this. This can also be done with plan js.