• README.md

  • ¶

    A simple utility to make working with d3 scales easier.

    Installation

    npm install d3-Mapping

    Usage

    Designed to be used node style:

    var Mapping = require("d3-mapping")

    Initialize a new mapping with a scale and an acessor function

    x = new Mapping(xScale, xAccessor)

    x has convenience methods for a number of common tasks.

    Check out some example usage, and read te docs!