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 in Depth

493 pointsby _mhr_about 7 years ago

6 comments

elsherbiniabout 7 years ago
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_dryabout 7 years ago
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 未加载
jarymabout 7 years ago
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 未加载
curiousgalabout 7 years ago
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 未加载
twostonedabout 7 years ago
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.
pletnesabout 7 years ago
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 未加载