1 karma · joined Oct 20, 2018 (8y ago) · 3 submissions
comment 7y ago · link · parent
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.
comment 7y ago · link · parent
The use of react is hereby not sctrictly necessary and much of the code found in SwissMap.js is also valid for other programming environments.
The usefulness of combing react and d3 is that you can create reusable and composable components, instead of creating something news every time you need a specific chart/map. This makes it easier to create more complex things like dashboards or UIs.comment 8y ago · link · parent
Or your parents are super rich and can donate money for a new building or donate their entire art collection.