JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5
  • Score
    100M100P100Q32055F
  • License MIT

Utility to make working with d3 scales less painful

Package Exports

  • d3-mapping

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (d3-mapping) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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 an example example usage, and read the literate source for more info