Y
Hacker News
new
|
ask
|
show
|
jobs
by
idibidiartists
3283 days ago
D3 can use GPU shaders and is far more flexible. This is ok for canned vis, not for custom data vis. Like Vega vs D3. D3 wins every time.
1 comments
ruleabidinguser
3283 days ago
What makes D3 more flexible?
link
ZeroCool2u
3283 days ago
Vega 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.
link
domoritz
3283 days ago
This 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/
for details.
But you high-level point is accurate, D3 is more expressive since you can use all of JavaScript.
link