by ddspog
ddspog-d3-kit helps writing d3 projects, if you're feeling too repetitive while coding.
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.
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.
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");
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.