Skip to content

Instantly share code, notes, and snippets.

@Alex1990
Forked from Willmo36/d3-tip-browserify.js
Created July 5, 2016 06:47
Show Gist options
  • Save Alex1990/bc16fc9d576cf72e67f425a069c68b8b to your computer and use it in GitHub Desktop.
Save Alex1990/bc16fc9d576cf72e67f425a069c68b8b to your computer and use it in GitHub Desktop.
d3-tip with browserify and webpack
let d3 = require("d3");
let d3tip = require("d3-tip");
d3tip(d3);
import d3 from "d3";
import d3Tip from "d3-tip";
d3.tip = d3Tip;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment