Menu

D3: You’re amazing just the way you are

October 03, 2017

Abstraction is a technique for arranging computer systems in such a way as to reduce the complexity of interacting with them. The system makes a certain complexity level available for other systems to interact with, while suppressing some of the inner workings. Programming languages, for example, are abstractions over assembly languages, which are abstractions over… Read more

Integrating D3 into React

February 14, 2017

D3 and React are both incredibly popular. Unfortunately, if you try to integrate D3 into a React application, you’ll hit some snags due to differences in how they each manipulate the DOM. I’ll discuss the problem, the existing ways the community has tackled it, and the approach Wealthfront took. Note that the choice we made… Read more

Tips for Unit Testing D3

July 27, 2016

Note: D3 4.0 has been released, but we haven’t upgraded to it yet, so the syntax in the code examples below is written for D3 3.x. However, the same ideas should hold for the newer version. If you’ve ever attempted to write unit tests for D3.js code, you’ve undoubtedly noticed some pain points. Many are due… Read more