ddspog-d3-kit

0.5.1 • Public • Published

ddspog-d3-kit

by ddspog

ddspog-d3-kit helps writing d3 projects, if you're feeling too repetitive while coding.

License

You are free to copy, modify and distribute ddspog-d3-kit with attribution under the terms of the MIT license. See the LICENSE file for details.

Installation

Before using ddspog-d3-kit you need:

  • npm

Setup your Javascript project, file this package as dependency and use ES6 import to use this package.

How to use

Import the package like this:

import {Box} from 'ddspog-d3-kit';

Then you're ready to use the object Box, to create ViewBox, margin or other objects:

viewbox = new Box("0 0 800 600");
margin = new Box("10px 20px 10px 20px");

Contribution

This package has some objectives from now:

  • Add plenty of functions to be used on various D3 projects.

Any interest in help is much appreciated.

Readme

Keywords

Package Sidebar

Install

npm i ddspog-d3-kit

Weekly Downloads

12

Version

0.5.1

License

MIT

Last publish

Collaborators

  • ddspog