TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

D3 7.0

180 pointsby cltsangalmost 4 years ago

8 comments

whimsicalismalmost 4 years ago
The one critique I have of D3 is that it is becoming increasingly closely paired with Observable, such that when I&#x27;m searching for examples of how to make something in d3, I can only find Observable examples that require the Observable runtime in order to function properly.<p>I think the examples should have a JS native version in addition to the Observable implementation.
评论 #27486235 未加载
评论 #27485887 未加载
评论 #27486208 未加载
评论 #27486244 未加载
评论 #27487647 未加载
评论 #27485764 未加载
spankaleealmost 4 years ago
&gt; Adopt type: module. #3501<p>Standard JS modules, very nice! D3 now works in all playgrounds and libraries even as dependencies without non-standard tooling!<p><a href="https:&#x2F;&#x2F;jsbin.com&#x2F;ducosajehi&#x2F;edit?html,output" rel="nofollow">https:&#x2F;&#x2F;jsbin.com&#x2F;ducosajehi&#x2F;edit?html,output</a><p>I do wish they didn&#x27;t even publish UMD, that&#x27;s a recipe for duplication if some libraries import the module and some import the UMD.
azangrualmost 4 years ago
So, is d3 tree-shakeable yet? If I import { scaleLinear } from &#x27;d3&#x27; in a webpack-built project, will I get only the scaleLinear code? As far as I remember, in v6 this will import a lot of (or perhaps the rest of) d3 as well.
评论 #27490438 未加载
mirekrusinalmost 4 years ago
Exciting to see ESM everywhere. It works so well with Observable. I&#x27;m trying to put live playgrounds at observable for my packages as part of docs [0] - just starting, nothing exciting to see there yet, but I think the concept of playground as part of docs is quite awesome.<p>[0] <a href="https:&#x2F;&#x2F;observablehq.com&#x2F;@mirek&#x2F;tsql-examples" rel="nofollow">https:&#x2F;&#x2F;observablehq.com&#x2F;@mirek&#x2F;tsql-examples</a>
DataCrayonalmost 4 years ago
Great! Nice to see very few breaking changes, the Dreamcast intro animation still works <a href="https:&#x2F;&#x2F;datacrayon.com&#x2F;posts&#x2F;visualisation&#x2F;visualisation-with-d3&#x2F;dreamcast-intro&#x2F;" rel="nofollow">https:&#x2F;&#x2F;datacrayon.com&#x2F;posts&#x2F;visualisation&#x2F;visualisation-wit...</a>
terpimostalmost 4 years ago
Thank you Mike!
评论 #27485586 未加载
Vasloalmost 4 years ago
Used this in a data viz class and I’d say it’s overkill for most visualizations. Also very difficult to learn and frustrating to implement with all the “enter, exit” stuff. Excel, Tableau, etc so much easier and most of what you need to do visualizations in the corporate setting. Obviously it’s excellent for very specialized unusual visualizations but it’s rare those are really needed.
评论 #27486729 未加载
评论 #27486871 未加载
评论 #27487141 未加载
评论 #27487657 未加载
评论 #27498038 未加载
评论 #27487795 未加载
kowloalmost 4 years ago
Feels like less than a year ago that we had D3 v6!
评论 #27486588 未加载
评论 #27486616 未加载