D3.js 4.x Data Visualization, 3/e (Paperback)
內容描述
Key Features
Understand how to best represent your data by developing the right kind of visualization
Learn D3 from the ground up, using the all-new version 4 of the library
Gain insight into producing high-quality, extensible charts using best practices such as writing testable, extensible code and strong typing
Book Description
Want to get started with interactive and impressive visualizations, and implement them in your daily tasks? Our book offers the perfect solution - D3.js. It has emerged as the most popular tool for data visualization.
This book will teach you how to implement the features of the latest version of D3 while writing JavaScript using the newest tools and technique
You will start by setting up the D3 environment and making your first basic histogram. You will then build stunning SVG- and Canvas-based data visualizations while writing testable, extensible code, fully as accurate and informative as it is visually stimulating. Step-by-step examples walk you through creating, integrating, and debugging different types of visualization and will have you building basic visualizations (such as bar, line, and scatter graphs) in no time.
By the end of this book, you will have mastered successful data visualizations and will be ready to use D3 to transform any data into a more engaging and sophisticated visualization.
What you will learn
Transform data using D3's collection methods.
Map data to visual elements using D3's scales.
Draw SVG elements using D3's shape generators.
Use D3's various layout patterns to quickly generate various common types of chart.
Write modern JavaScript using ES2017 and Babel.
Explore the basics of unit-testing D3 visualizations using Mocha Chai.
Write and deploy a simple Node.js web service to render charts via HTML Canvas.
Understand what makes a good data visualization and how to use the tools at your disposal to create accurate charts.