Could not find module `d3` imported


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


From doc, you should use something like:

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


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