With D3.js you have instead full flexibility and the only performance issue is that SVG's are slower than canvas, and that is mostly a problem when you have tens of thousand data points.
With D3.js you have instead full flexibility and the only performance issue is that SVG's are slower than canvas, and that is mostly a problem when you have tens of thousand data points.
If there's a bug in a library then that doesn't invalidate the entire concept of 'simple charting libraries'. How many have you tried?
d3 is robust because it's great code that's widely used - not because of it's other design choices.
I disagree very much. On top of the facts you mentioned, the main reason why d3 works where others don't is because it doesn't abstract away as much from the end user. Leaky abstractions will always, always come back and bite you in the you-know-where.
Clearly this library is setting the world on fire. Meanwhile if you want slow pointy clicky chartjunk for your PHB you can probably use your company's Tableau license, and if you want to push the envelope you use d3.
I've been using d3 on and off since 2011. It started from a spare, elegant idea and progressed to the point that almost anything I might wish to implement has at least some pieces already written in some obscure blocks.org block.
I find that pretty damned impressive given that many of my interests were research projects abandoned in the 90s and only just now beginning to come back. (yes, there were smart people back then, too; they all seemed to have SGIs)
[citation needed]
I seriously doubt the veracity of that claim, and if that's the only justification you can come up with as to why anything is a leaky abstraction, then I refuse to believe you.
No dispute that Wilkinson's ideas deeply influenced all sane graphics frameworks thereafter. In fact SPSS' purchase of SYSTAT was (by far) the best thing they ever did, and that's why people still use that awful piece of garbage.
However, Hadley Wickham spent a lot of time thinking through which parts still made sense, and which didn't, in implementing ggplot2. That book is free online, as are Bostock's notes.
I heartily recommend all three, but if money is an issue you can get the latter two for a lot less than a copy of TGoG.
Funfact: Wilkinson started this by selling SYSTAT to SPSS, got bored, eventually went to Tableau (seems to have worked out nicely for them) and now is at h2o. As much as I despise SPSS from having taught classes that use it, I admire their business sense and wish I'd owned equity in them prior to IBM buying the company.
H2O might not be a bad investment either (I've been wrong plenty of times though).
Turns out Bostock explicitly avoided devising Yet Another Grammar of Graphics in favor of selection and transformation operators. Which, as it happens, is a very sparse but expressive grammar anyways (cf dplyr and other corners of the Hadleyverse). Nonetheless, I misrepresented his idea of maximizing expressivity by minimizing grammatical constraints.
The IEEE paper is even better than I remembered. It's just as good today as it was when he first submitted it.