0.1.9 • Published 3 years ago

@dboxjs/core v0.1.9

Weekly downloads
2
License
MIT
Repository
github
Last release
3 years ago

Dbox.js

A library to create easy reusable charts

Dependencies

Dbox uses d3, d3-queue, d3-tip, lodash, topojson

Instalation

Using npm

npm install @dboxjs/core

Usage

Dbox uses one chart that allows to draw different layers

var config = {
  size: {
    width: width,
    height: 500,
    margin: { top: 20, right: 20, bottom: 30, left: 40 }
  },
  xAxis: {
    scale: "time"
  }
};

dbox
  .chart(config)
  .bindTo("#timeline-chart")
  .data({ csv: "assets/data/linea.csv" })
  .layer(dbox.timeline)
  .x("year")
  .series(["tot"])
  .color("species")
  .end()
  .draw();

Check examples on dboxjs.org

0.1.9

3 years ago

0.1.8

4 years ago

0.1.7

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago

0.0.8

6 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.3

7 years ago