Every chart makes assumptions about the kind and structure of the data that they can display. A scatter plot needs pairs of quantitative values, a bar chart requires categories with a quantitative dimension, and a tree map needs nested objects. To use a chart, the user will need to group, split, or nest the original dataset to fit the chart requirements. Functions that perform these transformations are called layout algorithms. D3 already provides a good set of layouts, from the simple pie layout to the more complex force layout. In this section, we will lean how to implement a layout algorithm, and we will use it to create a simple visualization using the barcode dataset.
Mastering D3.js
Mastering D3.js
Overview of this book
Table of Contents (19 chapters)
Mastering D3.js
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
Data Visualization
Reusable Charts
Creating Visualizations without SVG
Creating a Color Picker with D3
Creating User Interface Elements
Interaction between Charts
Creating a Charting Package
Data-driven Applications
Creating a Dashboard
Creating Maps
Creating Advanced Maps
Creating a Real-time Application
Index
Customer Reviews