As a final part of the chapter, we are going to develop a simple data visualization using d3.js with MeteorJS
d3.js is a famous data visualization library. It has a number of methods to support various kinds of visualization. We are going to see a small example that can portray the power of d3.js when combined with MeteorJS' reactivity.
Create a MeterorJS application, such as
DataViz. Add the d3.js package to the application using the
meteor add d3js:d3 command and make the following changes.
Replace the body content of
dataViz.html with the following HTML code:
<header id="siteheader"> <div class="logo"><a href="/">Data Viz</a></div> </header> <div class="container" id="sitebody"></div>
Remove the template below the ...