Ember-d3 issue. how to use line? or import d3?


Hi, I’ve installed ember-d3 and I want to draw a simple line which seems to be a big provocation.

They say do this import { line } from ‘d3-shape’, but don’t tell how to use. Then I want to use d3 manually, but I cant import d3 from ‘d3’ as I get

‘ember.debug.js:26513 Error: Could not find module d3 imported from …’

How can I use line or how can I import d3. I can’t use /* global d3 */ as jslint is crying. Thanks.