Book Image

Building Data Visualizations with D3 and Angular 2 [Video]

By : Matt Dionis
4 (1)
Book Image

Building Data Visualizations with D3 and Angular 2 [Video]

4 (1)
By: Matt Dionis

Overview of this book

<p>Browser-based visualization has been revolutionized by D3.js, the most flexible and powerful data visualization library available today. Angular 2 will power many of the most interesting and innovative websites and apps in years to come. This practical tutorial gives real-world solutions to how your data can be brought to life by harnessing the power of D3.js and using it in tandem with Angular 2.</p> <p>The course begins by showing you how to connect data effectively to SVG elements using D3.js and provides an introduction to making D3 data visualizations interactive.</p> <p>It then moves on to creating a basic Angular 2 application complete with components, services, data and event binding, and a testing infrastructure.</p> <p>Finally, you will learn how to integrate D3.js into an Angular 2 application. You will build a data dashboard out of flexible Angular 2 components. Towards the end of this volume you will learn to leverage a few advanced features and functionalities such as incorporating real-time data streams, and adding interactivity and animations.</p> <p>This course will provide you with the knowledge base and skill set to visualize virtually any data set and allow your audience to interact with these visualizations to gain deeper insight.</p> <h1>Style and Approach</h1> <p>This video uses a step-by-step tutorial approach and will explain all the steps involved in creating an Angular 2 app and integrating the latest D3.js library, D3 version 4. The individual steps will eventually help you to create a fully functional application in the form of a data dashboard complete with a scatterplot, live map, and live visual data stream.</p>
Table of Contents (8 chapters)
Chapter 8
Creating D3 Components
Content Locked
Section 3
Creating a MapComponent
We want to add a map that shows the location of any location-enabled tweets. - Need to add a 'mapData' endpoint to our server, which returns geoJSON data for US states - Need to properly project and position our map in the DOM - Add dots to our map for each location-enabled tweet from the US.