Learn D3.js: Create Stunning Interactive Web Visualizations with D3.js v7 and Modern JavaScript

Paperback Published on: 26/06/2026
Price: £37.99
Free UK delivery on orders over £25
We can order this from the publisher
Usually dispatched within 2 weeks
Make and edit your lists in your account
No stock available in any shop.
We can order this from the publisher
Usually dispatched within 2 weeks
No stock available in any shop.

Synopsis

Master data visualization with D3.js v7 using modern web standards and real-world projects to build interactive charts, maps, and visual narratives

Key Features

Build dynamic, data-driven visualizations using D3.js v7 and ES2019+

Create D3 data visualizations, including charts, maps, and networks

Master data visualization with JavaScript through hands-on examples

Book DescriptionLearn D3.js, Second Edition, is a fully updated guide to building interactive, standards-compliant data visualizations for the web using D3.js v7 and modern JavaScript. Whether you're a developer, designer, data journalist, or analyst, this book will help you master the core techniques for transforming data into compelling, meaningful visuals.

Starting with fundamentals like selections, data binding, and SVG, the book progressively covers scales, axes, animations, hierarchical data, and geographical maps. Each chapter includes short examples and a hands-on project with downloadable code you can run, modify, and use in your own work.

This new edition introduces improved chapter structure, updated code samples using ES2019 standards, and better formatting for readability. Chapters were completely rewritten to focus on the most important topics first, with suggested exercises after each section, complete with commented solutions and online step-by-step tutorials. All code snippets are drawn from real-world D3 data visualization projects available in a GitHub repository, which also includes bonus content on integrating D3 into applications and migrating legacy code.

With its practical approach, this book remains one of the most respected resources for learning D3.js and creating interactive data visualizations with JavaScript.What you will learn

Bind data to DOM elements and apply transitions and styles

Build interactive bar, line, pie, scatter, tree, and animated network charts

Implement interactive behaviors with zoom, drag, and tooltips

Visualize hierarchical data, flows, and maps using D3 layouts and projections

Use D3 with HTML5 Canvas for high-performance rendering

Create thematic geographic maps using standard GeoJSON and TopoJSON shapefiles

Complete 100+ exercises with commented templates and solutions

Build full visualizations through 10 guided online exercises

Who this book is forThis book is for web developers, data journalists, designers, analysts, and anyone who wants to create interactive, web-based data visualizations. A basic understanding of HTML, CSS, and JavaScript is recommended. No prior knowledge of SVG or D3 is required.

Publisher information

  • Publisher: Packt Publishing Limited
  • ISBN: 9781837636860
  • Number of pages: 582
  • Dimensions: 235 x 191 mm
  • Languages: English

Customer Reviews