O'Reilly logo

Meteor Cookbook by Isaac Strack

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Building graphs with D3.js

Using third-party libraries to render content inside Meteor is simple and easy to do, and there are a lot of great libraries out there. One of our personal favorites is the D3.js library (http://d3js.org/). It's well-documented, well-supported, and is a representative example of how to implement other (mostly) self-contained graphics rendering libraries. In this recipe we will create a demo graph application, complete with animations, using D3.js.

Getting ready

We will be using a default project installation, with the client, server, and both folders, and we will of course need the official D3.js package. In a terminal window, navigate to where you would like your project to reside, and execute the following commands: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required