vladefr97 / d3js-angular-examples

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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/.

About

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

License:MIT License


Languages

Language:TypeScript 97.3%Language:JavaScript 1.2%Language:CSS 0.8%Language:HTML 0.7%