This step-by-step guide is ideal whether you’re a designer or visual artist with no programming experience, a reporter exploring the new frontier of data journalism, or anyone who wants to visualize and share data.
Limitations (-): (first edition) * It only covers the basics of d3 (which is not a limitation if you are new to d3, but if you are familiar with basics, you might be interested in the other book "d3.js in action". * It doesn't do a good job of explaining the Layouts (only scratches the surface); I understand the second edition (recently released) provides more details. * Because it's an introduction, covering the concepts and techniques is more important than using the real-world data, so the majority of examples are based on random data; that being said, you can easily apply what you learn to your own data!
if you are interested to buy this book, its 2nd edition, I understand, has newly been released! which according to Murray is 200 pages longer and has 3 new chapters!
[Some of the] Things you need to tweak so that the code works with version 4: d3.scale.linear > d3.scaleLinear ; d3.scale.ordinal > d3.scaleBand; .RangeBand > .bandwidth each() > on();
My background in data visualization is R (ggplot and lattice) and Python (Matplotlib). I find Excel too limiting and Matlab inflexible. But what I'm used to are descriptions of visualizations that are then implemented. d3 is different, it makes you specify the form of the visualization and makes you work at a very low level (which is what ggplot and Matplotlib are trying to avoid). But this provides room for great creativity, and learning how to do this is the point of this book.
I come at this as someone who already does data analysis, but may need more ways of delivering the products of the analysis to others. And this has promise as a means of this delivery through a browser, which is already comfortable for most. And this book does a good job of working both the subject of d3.js and the web ecosystem that it is a part of to get to someplace useful.
Disclaimer: I received a free electronic copy of this book as part of the O'Reilly Blogger Program
FYI this book is an expansion and enrichment of Scott Murray's freely available d3 tutorials on his website. I'd say the tutorials form the skeleton of about 50% of the book. Still worth it, though, as (1) I need this shit offline, and (2) the final chapters are pretty mind-blowing (GeoJSON, where have you been all my life?), and (3) the walk-throughs of the existing stuff are more thorough.
Yay first non-fiction book in a while! Murray's book is aimed at non-technical people who are interested in data visualization, which made it pleasant light reading (if a bit tedious) that I mostly read while commuting to and from the skating rink.
I've been wanting to learn d3 for several years now, but I finally took the plunge and bought this book when Justin and I decided to work on a project together. This book was a useful broad-and-shallow introduction to d3 and SVG. I think there are too many screenshots, and sometimes too much focus on what specific lines of code mean, but I probably would have liked that if I'd read this book a few years ago when I was a baby developer. My favourite part was the section of interviews at the end.
Anyway, I would recommend this book if you're interested in a broad overview of the capabilities of d3 and also a complete beginner to d3.
Update, a few hours later: a side-effect of reading this book is that now I want to make a visualization of everything. I come across some random thing throughout the day and think of ways to make it into a fancy d3 thing.
Decent intro to D3, but the folksy, aw-shucks-computers-are-weird tone – intended, I think, to make the book non-threatening to a less technical audience – mostly just come off as condescending and irritating.
Major lessons learned: however hard you think maps are to work with, multiply by ten.
I read it a while ago, but I'm finding the time to review it just now. D3 tends to be quite tricky to get into just from its site – just the size of the materials is overwhelming. Once you get the gist, it's pretty simple – it's a collection of small things that are easy to understand and learn as needed. But you still need a "big picture" intro and this book provides a good one. It covers how to do a few basic things with D3, which are enough to get you started. The pacing of the book is good and you can get the idea without doing the code examples (although it helps).
The version covered is an older one, but that is fine – the things references in the book that have changed between v3 and v4 are not that many and the changes are mostly cosmetic.
I've been trying to get into D3.js a couple of times over the years. Each time I've gotten stuck because getting started seemed too difficult. I could get something that sort of worked quickly because there are so many examples online but tweaking the example to fit my usage always caused me a lot of trouble.
This book doesn't give you a lot of fancy examples, but it does teach you the basics, and because of that, I am now able to tweak the existing examples. But even more importantly I now feel like I understand the basics well enough to dive deeper.
I plan to read "D3.js in action" by Elijah Meeks now, which should give a lot more detail on how everything works.
Great book for absolute beginners to d3.js as well as coding. The author explains every step in minutest of details. Starting from setup(which file to open, where to click etc) to why and where should you use d3, to all the necessary building blocks (like scales, axes, selections etc), to a little advance things like interactivity and basic transitions. It ends with listing plethora of resources to go to after finishing the book. Author's love for the language and Visualisation is palpable throughout the book. Also just the right touch of humour kept things interesting. It is clear that author had a fun time working on the language and writing the book, which also transfers to the reader.
Nói sao nhỉ ? Nếu phải vi��t một cuốn sách nào dành cho người bắt đầu bất cứ thứ gì thì nên học theo Scott. Đơn giản, dễ hiểu và chi tiết. Điểm duy nhất mình không thích là phần cuối của sách tác giả vội quá. Thêm nữa nếu được, tác giả nên có một dự án bài tập lớn. Bài cuối có lẽ với mình không đủ phê.
Nói chung, là một quyển sách tuyệt vời để học D3 Version 4 (Version 5 thì phải google thêm vì một số cú pháp lệnh đã thay đổi).
This is a book on programming that does a much better job at the book part than others I've seen. Murray gives a great basic overview of D3 - how to use it and some of the cool things of which D3 is capable. The chosen audience is people who need a little more explanation of the code, but with all the screenshots and code excerpts, one can scan through the parts they understand and dig deeper to find explanations where needed.
Very accessible and well-written book on D3 visualization framework. Examples are easy to follow and explain the concepts well. I've kind of thought that D3 is pretty verbose and too low level for things like charts. However, after reading this book I appreciate the flexibility that the framework gives you.
Great book, it's well written, easily to follow and the authors enthusiasm is contagious. I could easily recommend this as a get started coding book or to an experienced coder looking to get started with D3. 👌
Nice quick D3 intro. Enough to get you started doing something on your own. Intended for full js/svg/css/html beginners. The free online version is a bit outdated though, some examples don't work in v4.
Very solid introduction to D3.js. Written primarily for a non-technical audience, but includes just the right amount of information to get you oriented to the library without feeling like it's patronizing or too shallow. (And/but/so Murray uses a colloquial tone which was fine with me but can rub some people the wrong way.) Despite being so long, it's actually a quick read -- which is good because you really ought to get through *at least* the chapter on scales before you try and go do anything with D3.
It was a great intro to d3.js. I had to figure out with some help how to connect to some live data via php as that wasn't included. I say intro because I am still looking into learning much more about different charts that can be created using the library. It is a good place to start if you want to learn js data visualization.
Clear and to the point. Gives you a quick understanding of how D3.js works and provides the basic building blocks for making your own interactive visualization. (Note: This book is still fairly barebones. You'll need to refer to examples online for the more advanced visualizations you are probably aspiring to build).