Book Image

D3.js 4.x Data Visualization - Third Edition

By : Aendrew Rininsland, Teller
Book Image

D3.js 4.x Data Visualization - Third Edition

By: Aendrew Rininsland, Teller

Overview of this book

Want to get started with impressive interactive visualizations and implement them in your daily tasks? This 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 bar chart. You will then build stunning SVG and Canvas-based data visualizations while writing testable, extensible code,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 the techniques necessary to successfully visualize data and will be ready to use D3 to transform any data into an engaging and sophisticated visualization.
Table of Contents (11 chapters)
3
Shape Primitives of D3

What this book covers

Chapter 1, Getting Started with D3, ES2017, and Node.js, covers the latest tools for building data visualizations using D3.

Chapter 2, A Primer on DOM, SVG, and CSS, reviews the underlying web technologies that D3 can manipulate.

Chapter 3, Shape Primitives of D3, identifies and creates the basic shapes that comprise a data visualization.

Chapter 4, Making Data Useful, teaches how to transform data so that D3 can visualize it.

Chapter 5, Defining the User Experience - Animation and Interaction, helps you use animation and user interactivity to drive your data visualizations.

Chapter 6, Hierarchical Layouts of D3, focuses on how hierarchical layouts can take your D3 skills to the next level by providing reusable patterns for creating complex charts.

Chapter 7, The Other Layouts, discusses the non-hierarchical layouts that speed the creation of many addition complex chart types.

Chapter 8, D3 on the Server with Canvas, Koa 2, and Node.js, outlines how to build and deploy a Node.js-based web service that renders D3 using Koa.js and Canvas.

Chapter 9, Having Confidence in Your Visualizations, showcases how to improve the quality of your code by introducing linting, static type checking, and automated testing to your projects.

Chapter 10, Designing Good Data Visualizations, compares and contrasts differing approaches to data visualization while building a set of best practices.