7
Working with Data
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, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access