TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

D3 6.0

330 点作者 coldsnap427超过 4 年前

22 条评论

cjv超过 4 年前
I&#x27;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.<p>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?<p>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!<p>[0] <a href="https:&#x2F;&#x2F;observablehq.com&#x2F;@unkleho&#x2F;introducing-d3-render-truly-declarative-and-reusable-d3" rel="nofollow">https:&#x2F;&#x2F;observablehq.com&#x2F;@unkleho&#x2F;introducing-d3-render-trul...</a>
评论 #24288999 未加载
评论 #24292397 未加载
评论 #24290660 未加载
评论 #24289575 未加载
评论 #24289049 未加载
atonse超过 4 年前
The first few days I used d3, I really struggled. And I got very frustrated. I simply couldn’t understand why the library was so popular. But I powered through because people whose thought patterns I respected, swore by it.<p>Then I read some blog post somewhere. I wish I could give that author the credit they deserved. It explained the fundamental building blocks of d3, the selection APIs, etc with such clarity.<p>Once the light bulb went off, I was able to quickly iterate on some pretty awesome totally custom stuff quickly and have sung d3’s praises ever since (it’s been 5 years).
评论 #24297654 未加载
评论 #24289129 未加载
enjalot超过 4 年前
We are hosting a d3 meetup online Thursday 8&#x2F;27 (tomorrow) more info here: <a href="http:&#x2F;&#x2F;meetu.ps&#x2F;e&#x2F;Jh8GY&#x2F;1kwFr&#x2F;d" rel="nofollow">http:&#x2F;&#x2F;meetu.ps&#x2F;e&#x2F;Jh8GY&#x2F;1kwFr&#x2F;d</a><p>Mike Bostock will be doing an AMA at the end if you have burning d3v6 questions (though you can expect some more documentation on upgrading to come very soon!)<p>I&#x27;ll also plug our other two speakers, Mike Freeman and Amelia Wattenberger who are amazing d3 educators &amp; authors.<p>It&#x27;s exciting that this is the first big online d3 meetup since the pandemic put a stop to in-person events, and as a consequence of being online anyone can participate!
评论 #24289597 未加载
jedbrown超过 4 年前
For those looking for higher level interfaces for interactive visualization via D3, check out Vega&#x2F;Vega-Lite [1] and Altair [2] (a Python library based on Vega-Lite).<p>[1] <a href="https:&#x2F;&#x2F;vega.github.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;vega.github.io&#x2F;</a> [2] <a href="https:&#x2F;&#x2F;altair-viz.github.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;altair-viz.github.io&#x2F;</a> [3] <a href="https:&#x2F;&#x2F;vega.github.io&#x2F;vega&#x2F;about&#x2F;vega-and-d3&#x2F;" rel="nofollow">https:&#x2F;&#x2F;vega.github.io&#x2F;vega&#x2F;about&#x2F;vega-and-d3&#x2F;</a>
评论 #24290744 未加载
评论 #24290652 未加载
vmception超过 4 年前
I just wish all the cool animated examples of D3 were updated to use the latest version of the library.<p>Mike had such cool and colorful ideas for the web 8 years ago which still wow supporters of any project. But I have had to spend significant time and money updating things to work with Vue or React while simultaneously trying to figure out what changed across versions of D3 while simultaneously trying to figure out what the inherited version of D3 was even doing.<p>Mike seems to have opted for more practical designs in the latter half of the decade in his exploration of data visualizations. While other contributors lack inspiration of using this as an art form.
评论 #24288777 未加载
Waterluvian超过 4 年前
Does the full adoption of ES6 modules result in trivial tree shaking? I’ve found that’s one of my favourite effects of libraries adopting the newer module styles<p>Edit: it’s modular but the modules I peeked at have sideEffects set and look pretty clean. I’m excited to see what I can do and keep tiny bundles! (I’m obsessed lately with making neat gadgets that load instantly)
评论 #24289069 未加载
tylerscott超过 4 年前
As a former Protovis user whose mouth hit the floor the day he discovered D3, I never cease to be amazed at the quality of work Mike does. Thanks, Mike!
评论 #24289191 未加载
motohagiography超过 4 年前
Sankey diagrams are still blowing enterprise minds in 2020. I don&#x27;t know what award it would be, but it should be important, and the author should get it.
评论 #24289123 未加载
评论 #24289121 未加载
jakecopp超过 4 年前
Is anybody else annoyed by how tightly coupled D3.js is with <a href="https:&#x2F;&#x2F;observablehq.com" rel="nofollow">https:&#x2F;&#x2F;observablehq.com</a>?<p>It&#x27;s basically impossible to get started with D3 without using the Observable online playground, I find it so frustrating.
评论 #24288880 未加载
评论 #24291341 未加载
评论 #24288802 未加载
评论 #24288844 未加载
评论 #24289671 未加载
评论 #24294471 未加载
评论 #24290252 未加载
评论 #24290009 未加载
评论 #24288975 未加载
renewiltord超过 4 年前
Which wrapper library around d3 that&#x27;s declarative would people recommend? I&#x27;m thinking something where I can swap the state in React between renders and it updates intelligently with animations etc.
评论 #24291088 未加载
romanr超过 4 年前
It seems like a very versatile framework, but nowhere I can find any recipe or guide of a very simple case - how to combine different types of charts in one? Like simple line chart overlaying the bar chart. It seems to be only possible by rendering them as completely separate charts and then overlaying one on top of each other in DOM? Which seems hacky.
评论 #24290285 未加载
评论 #24294156 未加载
评论 #24290266 未加载
评论 #24295944 未加载
评论 #24293924 未加载
d0m超过 4 年前
What&#x27;s the best resource(s) to learn D3 for an experienced dev? I find most books&#x2F;tutorials to be overly verbose.
评论 #24289083 未加载
评论 #24289044 未加载
ldd超过 4 年前
Oh, D3.js is awesome, and all the cool visualizations that I saw over the years makes me glad it exists.<p>Let&#x27;s share our creations here!<p>Here&#x27;s mine: a tech tree using D3.js made many years ago: <a href="https:&#x2F;&#x2F;github.com&#x2F;ldd&#x2F;tech-tree-js" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ldd&#x2F;tech-tree-js</a>
jwilber超过 4 年前
Awesome, I’m always shocked by how much D3 has to offer and the quality amount of time + effort Mike Bostock continues to invest into the project.<p>On a different note, hoping the CORS issued I received when using a v6 version d3-fetch with local files got updated
评论 #24288887 未加载
yoran超过 4 年前
I love D3. I tried plenty of other higher level libraries but very quickly you run into customization issues. So for Backtest (<a href="https:&#x2F;&#x2F;backtest.curvo.eu&#x2F;" rel="nofollow">https:&#x2F;&#x2F;backtest.curvo.eu&#x2F;</a>), I moved all the charts to D3. It&#x27;s a bit lower level and was more work to set up initially, but now I&#x27;m in full control and can easily extend any chart. D3 is a great piece of software!
ricardonunez超过 4 年前
I use d3 in my map generator app. I’ll look into this update to add and rewrite some of the features. Labels have been an issue lingering around for too long.
canada_dry超过 4 年前
I love D3, have been using it on and off for years.<p>The biggest pain point I have coming back to it - esp after a release or two - are the scope of the changes!!<p>Many methods and properties have changed thus most of the examples, blog posts, and stackoverflow assistance are outdated so it generally takes much longer than I had hoped - but the results are always worth it.
in9超过 4 年前
For me, a data scientist, learning D3 feels so far off since the background needed to learn it seems vastly connected with some notion of frontend concepts, which for me are very foreign. And honestly, I don&#x27;t care much about UI programming.<p>Is this impression correct? Is there a way around this? A learning source that covers both?
daemonk超过 4 年前
Awesome. I am a huge fan of D3. I am still using v4. But I will definitely spend some time migrating on my next refactoring.
评论 #24289099 未加载
zebraflask超过 4 年前
I have several charts on my development list that I have been planning to use D3 for - this new release is perfect timing.
ncmncm超过 4 年前
Just won&#x27;t render, at all, for me. Lotta &quot;Notebook not responding. There may be an infinite loop that has crashed this notebook, or a notebook open in another tab.&quot;.<p>So why should something happening in another tab be allowed to mess anything up? (Not that there is anything.)<p>No, sir, I didn&#x27;t like it.
RocketSyntax超过 4 年前
exciting to see event listeners drag, zoom. they make data come alive