vue-d3-charts

Simply yet configurable charts build with D3.
29,110
Install
npm install vue-d3-charts
Latest Version:0.2.8
Vue:2
Last Updated:Feb 27, 2020
Links: npm
Maintainer: saigesp

vue-d3-charts

Simply yet configurable charts build with D3.

See documentation and demo page.

Install

npm i vue-d3-charts --save

Usage

Import:

import { D3BarChart } from 'vue-d3-charts';

Template:

<D3BarChart :config="config" :datum="data"></D3BarChart>

Configuration and data:

// data
data = [{
  name: "Lorem",
  total: 30
},{
  name: "Ipsum",
  total: 21
},{
  name: "Dolor",
  total: 20
}]

// Configuration
config = {
  key: "name",
  value: "total",
  color: "steelblue",
}

Contributing

See contribution guide.

License

This repository is available under GNU General Public License v3.0. See details.

Version History

Version Released Vue License
0.2.8 ^2.6.10
0.2.7 ^2.6.10
0.2.6 ^2.6.10
0.2.5 ^2.6.10
0.2.4 ^2.6.10