Could not find module `d3` imported


#1

This is what I have in my package.json "ember-d3": “^0.3.4”,

I have import d3 from ‘d3’; but giving me below error: Could not find module d3 imported


#2

From doc, you should use something like:

import { line } from 'd3-shape';
import { scaleOrdinal } from 'd3-scale';
import { extent } from 'd3-array';

#3

Thank you. Would you have more comprehensive example of bar chart using ember-d3?