Installing @Types for d3
NOTE: The Typings npm library is deprecated. You must use @types instead.
For more in depth details about @types, visit the package page on npm. @types Documentation
Add Typings to your Project
To install types for d3 at version 3.5 (the most recent version supported by pbiviz) as a dev dependency, run the following command.
// install d3 typings npm install @firstname.lastname@example.org --save-dev
You should now have an @types directory in your node modules.