Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jaredreich/vue-d3
a vue.js plugin for D3
https://github.com/jaredreich/vue-d3
d3 plugin vue vue-d3 vue-plugin vuejs
Last synced: 8 days ago
JSON representation
a vue.js plugin for D3
- Host: GitHub
- URL: https://github.com/jaredreich/vue-d3
- Owner: jaredreich
- License: mit
- Created: 2016-07-08T14:47:43.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-28T22:28:07.000Z (over 6 years ago)
- Last Synced: 2024-10-31T12:39:57.982Z (15 days ago)
- Topics: d3, plugin, vue, vue-d3, vue-plugin, vuejs
- Language: JavaScript
- Homepage: https://github.com/d3/d3
- Size: 1000 Bytes
- Stars: 108
- Watchers: 7
- Forks: 14
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vue-d3
A Vue.js plugin for [D3](https://github.com/d3/d3).
## Installation
npm:
``` bash
npm install --save vue-d3
```Vue:
```javascript
var Vue = require('vue')
var VueD3 = require('vue-d3')
Vue.use(VueD3)
```HTML (Browserify):
```html...
<script src="/node_modules/vue-d3/src/vue-d3.js'">```
## Usage
D3 is now available through ```this.$d3``````javascript
this.$d3.selectAll('p').style('color', 'white');
```