• Stars
    star
    202
  • Rank 192,520 (Top 4 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created almost 8 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

This project shows how to integrate D3.js with Angular 2.

D3.js with Angular Examples

This project shows how to integrate D3.js with Angular.

It was generated with Angular CLI version 6.0.8.

We'll implement a few D3.js examples described in bl.ocks.org in Angular.

Examples

Examples Summary

Prerequisites

To follow these examples you need to install Node.js and npm if they are not already installed on your computer.

Verify that you are running at least node v6.x.x and npm 3.x.x by running node -v and npm -v in a terminal / console window. Older versions may produce errors.

Steps

  • Clone this repo into a new project folder.
$ git clone https://github.com/datencia/d3js-angular-examples.git
$ cd d3js-angular-examples
  • Install the npm packages described in the package.json:
$ npm install
  • Run ng serve for a dev server. Navigate to http://localhost:4200/.