New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

vue-d3

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-d3

A Vue.js plugin for D3

0.1.0
latest
Source
npm
Version published
Weekly downloads
229
28.65%
Maintainers
1
Weekly downloads
 
Created
Source

vue-d3

A Vue.js plugin for D3.

Installation

npm:

npm install --save vue-d3

Vue:

var Vue = require('vue')
var VueD3 = require('vue-d3')
Vue.use(VueD3)

HTML (Browserify):

<body>
  ...
  <!-- Bottom of body -->
  <script src="/path/to/vue.js"</script>
  <script src="/node_modules/vue-d3/src/vue-d3.js'"></script>
</body>

Usage

D3 is now available through this.$d3

this.$d3.selectAll('p').style('color', 'white');

FAQs

Package last updated on 08 Jul 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts