Better HN
topnewbestaskshowjobs
Log inSign up

sen_mendoza

1 karma · joined Oct 20, 2018 (8y ago) · 3 submissions

Submissions

comment 7y ago · link · parent

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.

comment 7y ago · link · parent

The creator admits this in the README:

  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

So in addition to having solid academic credentials, the ideal student would be from a rural place, a star athlete, potential humanities major (Philosophy, History, English), have parents with working-class jobs (chef, homemaker, construction worker), interesting or familial extracurriculars (film making, baby sitting), maybe an immigrant, maybe a racial minority, maybe not straight, but most importantly has great interview skills and personal recommendations emphasizing how outgoing, clever or mature you are.

Or your parents are super rich and can donate money for a new building or donate their entire art collection.