vue-d3-charts-hire3x

0.3.5 • Public • Published

vue-d3-charts

The development of this library is frozen for now. When I have more time I will continue its development. Any contribution is welcome

Simply yet configurable charts build with D3.

Install

npm install --save vue-d3-charts-hire3x

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

License

Readme

Keywords

none

Package Sidebar

Install

npm i vue-d3-charts-hire3x

Weekly Downloads

81

Version

0.3.5

License

none

Unpacked Size

545 kB

Total Files

14

Last publish

Collaborators

  • vishalksimplify
  • sandeepss