4 ms·
I've always been curious on what Mike would do if he could completely rewrite D3. I saw some experiments with a declarative API [0] which seems really interesti
by cjv 6y ago
I've always been curious on what Mike would do if he could completely rewrite D3. I saw some experiments with a declarative API [0] which seems really interesting.
It seems like the main learning curve for learning D3 is deeply understanding the underlying web technologies (looking at you SVG), so could something D3-like have a more abstracted renderer?
Anyway, once you use Observable - Jupyter notebooks are forever ruined, which is the highest praise I can give. Thanks for all your hard work Mike!
[0] https://observablehq.com/@unkleho/introducing-d3-render-truly-declarative-and-reusable-d3 https://observablehq.com/@unkleho/introducing-d3-render-trul...
- anchpop 6y agoWow, that declarative API seems really cool. Exactly what I've been looking for recently. Thanks for sharing it!
- domoritz 6y agoCheck out Vega/Vega-Lite (https://vega.github.io/ https://vega.github.io/) for a fully declarative visualization grammar (including interactions).
- timwis 6y agoActually you can use d3's maths functions standalone and then use react or vue's declarative templating to render. It's not too dissimilar from what you'd have to know using d3 DSL directly. Here's an example: https://github.com/timwis/vizwit/blob/v2/src/components/charts/Bar.vue https://github.com/timwis/vizwit/blob/v2/src/components/char...
- rhodysurf 6y agoThis is what I do too for my site and app. Its soooo flexible
- _spoonman 6y agoWhile learning D3 I was stuck on a simple bar chart problem. Just could not figure it out. Asked on the D3 slack. None other than Mike himself took the time to look at my code and point out the error. Then he gave me some general tips that he noticed. The guy is so generous with his time and expertise and I admire him a great deal.
- raxor53 6y agoMike is everywhere D3 is, it's incredible. Most of the popular D3 questions on StackOverflow are answered by him.
- WalterGR 6y agohttps://observablehq.com/ https://observablehq.com/ Front page of the website doesn't seem to work on the latest Chrome (version 85.0.4183.83 (Official Build) (64-bit)) on macOS. Oops, an unexpected error occurred.
- visnup 6y agoIs this persistent? Did it ever start working again?