News for hackers. Stuff that matters.
Re:Show HN: Rendering One Million Datapoints with D3 and WebGL by zylepe on Saturday May 02, 2020 @12:45PM (#23052962)
Very cool! I’ve done visualizations on similar size datasets by mapping tsne output to fake latitude/longitude coordinates and rendering it with mapbox gl. It feels like a hack, but then you get all of the panning/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.

I’ll have to play around with your technique more, encouraging to see you get good performance eagerly loading a million data points!

Re:Show HN: Rendering One Million Datapoints with D3 and WebGL by 7373737373 on Saturday May 02, 2020 @02:37PM (#23053885)
I can recommend LargeVis[0][1] which I used to layout and Polymaps[2] to visualize tiles of the https://wikiscape.org article point cloud.

[0] https://github.com/lferry007/LargeVis [1] https://github.com/elbamos/largeVis [2] http://polymaps.org/

Re:Show HN: Rendering One Million Datapoints with D3 and WebGL by 7373737373 on Monday May 11, 2020 @05:22AM (#23140309)
Scrap polymaps, use leaflet instead: https://leafletjs.com
Re:Show HN: Rendering One Million Datapoints with D3 and WebGL by andybak on Saturday May 02, 2020 @01:19PM (#23053273)
Deck.GL has some similar examples. I think the reason this makes sense is that geo data viz had to pioneer huge datasets - which are less common in other fields.