Chapter 8. Traditional DOM manipulation with D3

This chapter covers

  • Making spreadsheets with data
  • Drawing graphics with HTML5 canvas
  • Building image galleries with data
  • Populating drop-down lists with data-binding

Many introductions to D3 start with sizing <div> elements to create a bar chart. They figure you’re a web developer and that you won’t be as intimidated by a div as you’d be by an SVG rectangle. This book even begins by creating a set of <p> elements in chapter 1, the first time you saw data-binding in action. But then these tutorials (and this book) quickly transition into the creation of SVG elements, with an emphasis on the graphical display of information. This is at odds with traditional web development, which focuses on ...

Get D3.js in Action 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.