-
Book Overview & Buying
-
Table Of Contents
Learn D3.js - Second Edition
By :
Creating effective data visualizations requires preparing your data by restructuring, filtering, sorting, merging, splitting, or even generating new values. It may also be necessary to format or adapt text for specific audiences. Although much of this type of work is done at the server side, dynamic visualizations still require efficient client-side tools. This chapter is a general introduction to the D3 library toolset for data manipulation, generation, and presentation.
While native JavaScript already provides many tools to manipulate arrays, the d3-array module was specifically designed to deal with common data visualization tasks and handles complex operations such as multi-level grouping, matrix transpositions, quantization, binary searches, and image blurring. It also generates data sequences, while d3-random, d3-interpolate, and d3-time provide tools for random distributions, interpolation, and time intervals, respectively. Finally, the d3-format and d3...