Book Image

Data Visualization with D3 and AngularJS

By : Erik Hanchett, Christoph Körner
Book Image

Data Visualization with D3 and AngularJS

By: Erik Hanchett, Christoph Körner

Overview of this book

Table of Contents (16 chapters)
Data Visualization with D3 and AngularJS
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Creating an HTML template for D3.js


To set up a template page for all visualization examples, we first need to download D3.js and include it to the application. In this book, we will use version 3.5.5, but all of the examples should also work with slightly different versions (~3.4.12 and ~3.5.0). There are multiple ways to add D3.js to an application:

The easiest way to use D3.js in our application is to simply download D3.js directly from GitHub and extract it into the libs directory. In contrast to the CDN method, this does not require an active Internet connection while developing. However, the recommended way is to use a package manager such as bower to manage and configure all third-party dependencies.

So...