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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

D3 in Depth

493 点作者 _mhr_大约 7 年前

6 条评论

elsherbini大约 7 年前
I think this hasn&#x27;t been update since 2017, and most of it is from 2016.<p>I pretty much only use javascript for d3, and I put it down for a while. Recently I decided to do something with d3 v5.0[1], and got confused about the state of ES6 modules. Has anyone gotten rollup to work with d3? Is it possible to just use ES6 modules natively in the browser if you don&#x27;t care about older browsers?<p>My other issue was with async&#x2F;await. It seems like when I used async await on a locally hosted csv file, it could take between 1 and 2 seconds to load. For my colleague sometimes minutes. When I switched to d3 v4.0 and the old callback approach, it loaded instantly, even for my colleague. What gives?<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;d3&#x2F;d3&#x2F;blob&#x2F;master&#x2F;CHANGES.md" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;d3&#x2F;d3&#x2F;blob&#x2F;master&#x2F;CHANGES.md</a>
评论 #16845239 未加载
评论 #16845098 未加载
canada_dry大约 7 年前
For me using D3 is kinda like using regex. Whenever I need to use it... it always take a long refresher to get back up-to-speed. But, it&#x27;s one of those amazing, invaluable tools that does some pretty complex stuff without sweat.
评论 #16846230 未加载
评论 #16848692 未加载
jarym大约 7 年前
I love D3 but my biggest complaint is that many of the examples floating around appear to have been coded by people who don&#x27;t care about reusability (and in some cases, ability for others to understand the code).<p>Nowadays if I need to do interactive visualisations I typically end up using Mobx + SVG.js. It works really well and I rarely get other developers asking me to explain how it works so that&#x27;s a HUGE plus.
评论 #16846908 未加载
curiousgal大约 7 年前
As a data person, I&#x27;ve always wanted to use D3 to build my visualizations but it&#x27;s always been like using Assembly to build a program.
评论 #16846703 未加载
评论 #16845279 未加载
评论 #16848602 未加载
twostoned大约 7 年前
Nice timing. I just found this website the other day and love it. I&#x27;ve just recently been getting into data visualization and have fallen in love with d3.js. Another good resources is <a href="http:&#x2F;&#x2F;alignedleft.com&#x2F;work&#x2F;d3-book&#x2F;" rel="nofollow">http:&#x2F;&#x2F;alignedleft.com&#x2F;work&#x2F;d3-book&#x2F;</a>. Maybe a bit introductory for some of the smartypants on HN but I&#x27;ve been away from front end dev for a while and so find blasting through the chapters pretty helpful. Hilarious tone, also. Combined with d3indepth.com&#x27;s examples and the API docs I&#x27;ve been able to get a good grasp of d3.js.
pletnes大约 7 年前
As someone who mostly sticks to python but is interested in data analysis and visualization, I still haven’t figured out what problem d3 solves, and which use cases it makes sense for?
评论 #16845555 未加载
评论 #16844969 未加载
评论 #16845901 未加载
评论 #16845605 未加载
评论 #16845131 未加载
评论 #16846560 未加载
评论 #16845285 未加载