Create Scaled Accessor Functions from D3 Scales

InstructorAndy Van Slaars

Share this video with your friends

Send Tweet

When applying scales to data elements in D3, it's common to combine the scale with an accessor function in order to apply the scale to the appropriate key on a data object. In this lesson, we'll create scaled accessors to refactor and tighten up some existing code.