Chapter 3. Dealing with Data
In this chapter we will cover:
- Binding array as data
- Binding object literals as data
- Binding functions as data
- Working with arrays
- Filtering with data
- Sorting with data
- Loading data from server
Introduction
In this chapter, we are going to explore the most essential question in any data visualization project, how data can be represented both in programming constructs, and its visual metaphor. Before we start on this topic, some discussion on what data visualization is is necessary. In order to understand what data visualization is, first we need to understand the difference between data and information.
Data are raw facts. The word raw indicates that the facts have not yet been processed to reveal their meaning...Information ...
Get Data Visualization with D3.js Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.