Go ProSign in

This Lesson is for Members

Subscribe today and get access to all lessons! Plus direct HD download for offline use, enhances transcripts, member comment forums, and iTunes "podcast" RSS feed. Level up your skills now!

Unlock This Lesson

Already subscribed? Sign In

Build Interactive JavaScript Charts with D3 v4

Build Interactive JavaScript Charts with D3 v4


    Create Labels from Non-numeric Data with Ordinal Scales in D3 v4

    Ben ClinkinbeardBen Clinkinbeard

    When your data contains discrete, non-numeric property values that you need to format or convert before displaying, d3.scaleOrdinal() is the API you need. Maybe you need to convert a “pass”/”fail” field to “green”/”red” for coloring your bubble chart? This lesson shows you exactly what to do.

    You must be a Member to view code