Getting Started with D3 and over 2 million other books are available for Amazon Kindle . Learn more
FREE Delivery in the UK.
Only 2 left in stock (more on the way).
Dispatched from and sold by Amazon.
Gift-wrap available.
Trade in your item
Get a £0.60
Gift Card.
Have one to sell?
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See all 2 images

Getting Started with D3 Paperback – 13 Jul 2012

See all 2 formats and editions Hide other formats and editions
Amazon Price New from Used from
Kindle Edition
"Please retry"
"Please retry"
£5.43 £5.59

Frequently Bought Together

Getting Started with D3 + Interactive Data Visualization for the Web + Visualize This: The Flowing Data Guide to Design, Visualization, and Statistics
Price For All Three: £55.20

Buy the selected items together

Earn a Free Kindle Book
Earn a Free Kindle Book
Buy a book between now and 31 March and receive a promotional code good for one free Kindle book. Terms and conditions apply. Learn more

Product details

  • Paperback: 70 pages
  • Publisher: O'Reilly Media; 1 edition (13 July 2012)
  • Language: English
  • ISBN-10: 1449328792
  • ISBN-13: 978-1449328795
  • Product Dimensions: 17.8 x 0.4 x 23.3 cm
  • Average Customer Review: 2.0 out of 5 stars  See all reviews (4 customer reviews)
  • Amazon Bestsellers Rank: 601,081 in Books (See Top 100 in Books)
  • See Complete Table of Contents

More About the Author

Discover books, learn about writers, and more.

Product Description

Book Description

Creating Data-Driven Documents

About the Author

Mike Dewar is a data-scientist at Bitly, a New York tech company that makes long URLs shorter. He has a PhD in modelling dynamic systems from data from the University of Sheffield in the UK, and has worked as a Machine Learning post-doc in The University of Edinburgh and Columbia University. He has been drawing graphs regularly since he was in High School, and is starting to get the hang of it.

What Other Items Do Customers Buy After Viewing This Item?

Customer Reviews

2.0 out of 5 stars
Share your thoughts with other customers

Most Helpful Customer Reviews

4 of 4 people found the following review helpful By I. Dillingham on 15 Aug 2012
Format: Paperback
In this short book, Mike Dewar introduces D3 and makes a persuasive case for building visualizations using JavaScript, SVG, HTML and CSS.

Attempting to cover the four underlying technologies, as well as D3, is clearly an impossible task in only 57 pages, so Dewar deserves credit for keeping things relatively simple; he develops a handful of graphs that exemplify some useful D3 methods and highlights a core D3 idiom (selectAll, data, enter) in the process. In each case, I liked the reminder that effective visualization is as much about good design as well written code; it was also nice that the examples were based on 'real' data.

One of the main drawbacks of "Getting Started with D3" is that it's too ambitious. Readers will need more than a sprinkling of JavaScript to make the most of this book and although SVG, HTML and CSS are reasonable prerequisites, there aren't enough pointers to alternative resources (I'd recommend the Mozilla Developer Network, for example). Similarly, the chapter on force-directed, histogram and stacked layouts is hurried. More importantly, however, are the errors in the code examples, which are likely to frustrate beginners.

In many respects, this book marks D3's transition from academia to the mainstream; at the very least, it should give the reader some confidence that D3 isn't going to go the way of Protovis, its predecessor. In summary, "Getting Started with D3" is worth reading, but not in isolation. And do check the errata!

(Full disclosure: I received a free copy of this book through O'Reilly's Blogger Review Program.)
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
1 of 1 people found the following review helpful By JD on 20 Mar 2013
Format: Paperback
What content there is I found to be easy to read and follow the examples. I have already been messing around with d3 before reading the book and it certainly some things clearer for me. It fits the title of "Getting Started with..." fine.

The price is not really in line with what you get, though. I think this would work better as a £1 ebook sweetener to buy a full d3 cookbook or nutshell version. What rubs salt on the wound is several pages wasted on explaining how to read the book. Really? I think if you are at a level of intelligence capable of working with Javascript libraries that you can probably work out why some text is in italic or bold type.

On the other hand, I know more about the New York transit authority and their datasets than anyone living on the other side of the Atlantic has any need for.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
Format: Paperback Verified Purchase
Too difficult to understand with my background. May be at a later stage I can use it and appreciate it.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
2 of 3 people found the following review helpful By Mr Philip J Hodges on 14 Mar 2013
Format: Paperback Verified Purchase
I must confess I only have myself to blame. A quick glance through the other comments clearly state that this "book" is tiny. I think for £10 pounds it is not worth it. If you are looking to get started in D3 then you will be better off going through the examples/tutorials that can be found online.

The one thing of value that this book has taught me is in future make more of an effort to read the comments/description of a "book" before hitting the purchase button.

Feel ripped off.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again

Most Helpful Customer Reviews on (beta) 21 reviews
27 of 27 people found the following review helpful
Unimpressed 26 July 2012
By Ysgard - Published on
Format: Paperback
Not so much a book as an 'at-a-glance' pamphlet. Does a adequate job of introducing you to D3, but not more so than the existing examples on the

I wanted to work with the live data, but the author does little more than provide 'data cleaner' Python scripts to produce JSON from the live sources that he selected - the New York transit system. Python scripts that required modules outside of Python's standard library. Really? At least he provided canned data, but D3's strength is working with living data, and that's not really explored here.

The book also feels sloppily written, with many niggling errors. For example, the skeleton html provided references to the 'd3.js' file, but since February this file has been supplanted by 'd3.v2.js'. Was there really no time to correct this fundamental error before the book came out in late July? D3 makes extensive use of 'cascading' functions, but no real effort was put in to explain or show, with diagrams, how they work in D3. Considering that this is probably the greatest hurdle for newbies to get over, the lack of serious treatment is appalling.

The examples are good - I can't really fault them, and the subtle repetition does drive home the core D3 process. But it doesn't feel like enough. The author's refuses to even explain the basics of anything other than throwing a graph up. For certain, this book is supposed to be about D3, not data munging or manipulation - but considering how important SVG is to D3 and its use, I was surprised to see a mere half-page given to the image format. Amusingly, the author notes "We've no space to go into SVG in detail here..." No space? The book is 58 pages long. It could use some more padding with useful information.

The book goes through example after example, but doesn't offer the merits or demerits of a particular graph or approach. Why use a force-directed graph to represent the New York subway system, for example? For show? The resulting graph is ugly, the nodes and edges unlabelled. An example showing how to make a simple directed graph, properly labelled and aligned, would have been far more useful.

Want a list of all available graphs available for D3? An overview of the library API? An example of how to use D3 with XML or CSV data? You're out of luck. What I really wanted was a nice, detailed exploration of the library and how it can be used, step-by-step, to craft amazing graphs like the "Wealth of Nations" visualization (see the D3 website) , but instead I got regurgitated snippets. It's like I have Chapter 1 of a 7-chapter book.

I think this book is really mistitled, and that's why I feel so poorly about it. If it had been named "D3 at a glance" and cost 10$, I would have received it more positively. But I expect more - a lot more - from a 'Getting Started' title.

I feel particularly cheated because I purchased this at the same time I purchased another O'Reilly "Getting Started" book - "Getting Started with Dwarf Fortress", which contains over 200 pages of densely packed information, including detailed step-by-step instructions and good appendices. The kicker? It also cost 20$.
9 of 9 people found the following review helpful
Save your money 19 Dec 2012
By ANDREW - Published on
Format: Kindle Edition Verified Purchase
Way overpriced for the content. This book feels more like a teaser. Where's the beef?! The author does not give any insight into several D3 graphs such as Chord Graphs. To the author: Keep working please.
5 of 5 people found the following review helpful
Just to get you started... 24 Oct 2012
By deepu - Published on
Format: Paperback
The book hardly touches the features of d3 and doesn't discuss the library in any detail. It is a good starting point for someone interested in taking a first look at d3, but ends abruptly, leaving you nowhere. You would still be confused if you read the whole book and went back to the d3 documentation.
3 of 3 people found the following review helpful
Don't waste your money. 13 Dec 2012
By Amazon Customer - Published on
Format: Paperback Verified Purchase
This book is of no value. The books is very short, contains only the most simple and basic plots (all of which are ugly and terrible visualizations), and is easily found for free online. Not really even usable as a reference guide. I am extremely disappointed because I can see how powerful D3 can be when used right. This is not the book to learn how to use it. Strongly recommend that you look elsewhere.
3 of 3 people found the following review helpful
This is a pamphlet, not a book 17 July 2012
By s. pantalones - Published on
Format: Paperback Verified Purchase
Fair intro to d3, except it's a short 50 pages long and covers most material already available online through all of Mike Bostock's examples and tutorials on the d3 website. To be fair, I'd pay 4x this for a 2 hour session of someone teaching d3 in person, but I really don't think this is enough content to justify a book at $20.

I have to say I was pretty disappointed upon receiving this, expecting a higher bar from O'Reilly.
Were these reviews helpful? Let us know