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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Show HN: Rendering One Million Datapoints with D3 and WebGL

200 点作者 ColinEberhardt大约 5 年前

4 条评论

zylepe大约 5 年前
Very cool! I’ve done visualizations on similar size datasets by mapping tsne output to fake latitude&#x2F;longitude coordinates and rendering it with mapbox gl. It feels like a hack, but then you get all of the panning&#x2F;zooming interaction, styling, and rendering labels with collision avoidance for free. For smaller datasets I pass in geojson directly, but for larger ones I precompute vector tiles so you can lazy-load more of the data when you zoom in. There are a lot of things built for mapping that are relevant for other domains, I wish that there was a common base that could be extracted that mapping libraries adapt to geographic data but data visualizations could adapt to non-geographic data.<p>I’ll have to play around with your technique more, encouraging to see you get good performance eagerly loading a million data points!
评论 #23053885 未加载
评论 #23053273 未加载
1wheel大约 5 年前
Nice write up Colin!<p>fwiw quadtrees don&#x27;t make much sense when you&#x27;re showing a tooltip for ~1 million points: <a href="https:&#x2F;&#x2F;roadtolarissa.com&#x2F;scan-sorted&#x2F;" rel="nofollow">https:&#x2F;&#x2F;roadtolarissa.com&#x2F;scan-sorted&#x2F;</a>
评论 #23057567 未加载
paulgb大约 5 年前
Scott Logic is probably the highest-quality company technology blog I&#x27;ve encountered in a while. I keep returning to it for WebAssembly and WebGL topics and it is consistently high quality. I&#x27;m not even sure what Scott Logic does, but they sure know their stuff :)<p>Kudos, Colin and team.
评论 #23057599 未加载
评论 #23054420 未加载
评论 #23054432 未加载
gdubs大约 5 年前
The scatterplot of the library data is fascinating — looks like an organism.