Hi there.
I can't seem to get this to work work in my simple webpack/babel setup, no matter what I do.
I've tried importing the following ways:
import 'd3-transform';
import d3Transform from 'd3-transform';
import * as d3Transform from 'd3-transform';
// and
var d3Transform = require('d3-transform');
But in all cases I get an Uncaught TypeError: [x] is not a function where [x] is whichever d3-transfom function I am trying to invoke. I have tried using both d3.transform() and d3Transform() but without any luck.
I'm sorry if I haven't provided enough detailed information, but at this point I am not quite sure where to begin.
Thanks on beforehand :)
Hi there.
I can't seem to get this to work work in my simple webpack/babel setup, no matter what I do.
I've tried importing the following ways:
But in all cases I get an
Uncaught TypeError: [x] is not a functionwhere[x]is whichever d3-transfom function I am trying to invoke. I have tried using bothd3.transform()andd3Transform()but without any luck.I'm sorry if I haven't provided enough detailed information, but at this point I am not quite sure where to begin.
Thanks on beforehand :)