Book description
Build dynamic and interactive visualizations from real-world data with D3 on AngularJS
In Detail
Using D3.js, the powerful JavaScript toolkit for creating cross-platform vector graphics, you can now combine performance with maximum compatibility to build a web-based visualization and present data in an interactive and convenient way. We'll reach top-notch reusability and testability by combining D3 graphics with our favorite web application framework, AngularJS.
This book teaches the basics of vector graphics, D3, and AngularJS integration, and then dives into controlling, manipulating, and filtering data. You will learn about the testability of components and how to implement custom interactions, filters, and controllers; discover how to parse and map data in D3.js; and get a grasp on drawing D3.js built-in shapes and curves. After reading the last few chapters, you'll be able to bring life to your visualizations with more features of D3.js such as interactions, animations, and transitions. You will finish your journey by implementing a parser for different server application logs and display them on a Google Analytics style interactive dashboard.
What You Will Learn
- Design, implement, and integrate an interactive dashboard to visualize server logs in real time using D3 graphics
- Learn cross-platform vector graphics to implement a dashboard visualization
- Perform data-driven transformations on selected HTML and SVG nodes
- Map, group, and filter datasets and create scales and axes
- Modularize data visualization information into reusable components to seamlessly integrate them into an AngularJS application
- Load, parse, and preprocess external data and autoupdate the visualization
- Design various chart types such as scatter, line, bar, or area and extend built-in shapes
- Create custom animations and transitions for the visualization
- Implement interactions and controls for the visualization preserving two-way binding between D3 and AngularJS components
Table of contents
-
Data Visualization with D3 and AngularJS
- Table of Contents
- Data Visualization with D3 and AngularJS
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Preface
- 1. The Magic of SVG, D3.js, and AngularJS
- 2. Getting Started with D3.js
-
3. Manipulating Data
-
Manipulating datasets in arrays
- Built-in JavaScript array methods
-
More array manipulation with D3.js
- d3.min(array[, accessor])
- d3.max(array[, accessor])
- d3.sum(array[, accessor])
- d3.mean(array[, accessor])
- d3.median(array[, accessor])
- d3.shuffle(array)
- d3.permute(array, indexes)
- d3.merge(array)
- d3.range([start, ]stop[, step)
- d3.zip(array, array, ...)
- d3.pairs(array)
- d3.keys(object)
- d3.values(object)
- d3.entries(object)
- Grouping elements with d3.nest
- Formatting numbers and dates
- Working with scales
- All about axes
- Summary
-
Manipulating datasets in arrays
- 4. Building a Chart Directive
- 5. Loading and Parsing Data
- 6. Drawing Curves and Shapes
- 7. Controlling Transitions and Animations
- 8. Bringing the Chart to Life with Interactions
- 9. Building a Real-time Visualization to Monitor Server Logs
- Index
Product information
- Title: Data Visualization with D3 and AngularJS
- Author(s):
- Release date: April 2015
- Publisher(s): Packt Publishing
- ISBN: 9781784398484
You might also like
book
Create Web Charts with D3
Create Web Charts with D3 shows how to convert your data into eye-catching, innovative, animated, and …
video
Intermediate D3.js
Bolster your skills for creating beautiful, interactive, browser-based data visualizations with the D3 JavaScript library. Ideal …
book
D3.js: Cutting-edge Data Visualization
Turn your raw data into real knowledge by creating and deploying complex data visualizations with D3.js …
book
AngularJS: Maintaining Web Applications
Get started with speed building AngularJS applications, and scale up to a full-stack web application, using …