3 ms·
What makes D3 more flexible?
by ruleabidinguser 9y ago
What makes D3 more flexible?
- ucantsilenceme 9y agoNot that you're asking seriously. It is the first thing you realize if you have ever looked at D3. It is a set of data vis primitives that allow you to program custom-designed data vis (with custom interactive animations) It is not a tool that gives you canned charts and allow you to configure them. StarDust API (from a quick glance) does not seem to allow the same level of programmability as D3. Sure it can get thousands of users but it cannot replace a real data vis Programming environment like D3. You trade learning curve for potential.
- ZeroCool2u 9y agoVega is built on D3. It's just operating at a higher level. It's like C++ vs Python. You can do anything in C++ you can do in Python, but it may take a lot more work.
- domoritz 9y agoThis may be a bit confusing but Vega only uses some D3 helpers, it does not generate D3 code at any point. See https://vega.github.io/vega/about/vega-and-d3/ https://vega.github.io/vega/about/vega-and-d3/ for details. But you high-level point is accurate, D3 is more expressive since you can use all of JavaScript.