Skip to content

Instantly share code, notes, and snippets.

View bumbeishvili's full-sized avatar
🏠
Working from home

David Bumbeishvili bumbeishvili

🏠
Working from home
View GitHub Profile
@bumbeishvili
bumbeishvili / .block
Created March 1, 2018 13:49 — forked from alandunning/.block
Nations
license: mit
@bumbeishvili
bumbeishvili / .block
Created March 1, 2018 13:10 — forked from ColinEberhardt/.block
Canvas Chart Zoom
license: mit
@bumbeishvili
bumbeishvili / .block
Created March 1, 2018 13:06 — forked from ColinEberhardt/.block
Small multiples
license: mit
@bumbeishvili
bumbeishvili / .block
Created March 1, 2018 12:33 — forked from harrisoncramer/.block
Arc Diagram
license: gpl-3.0
@bumbeishvili
bumbeishvili / .block
Created February 27, 2018 11:15 — forked from XavierGimenez/.block
Grouping nodes in a Force-Directed Graph
license: gpl-3.0
height: 600
@bumbeishvili
bumbeishvili / README.md
Created February 23, 2018 13:05 — forked from gmamaladze/README.md
Nodes snapping to colored clusters - d3.js sample

Drag gray nodes into one of the colored clusters. They will snap to the group. You can also move nodes out of groups to regroup them.

Created using D3's force layout. Forekd from Multi-Foci Force Layout.

This code is distributed under MIT license. Copyright (c) 2013 George Mamaladze. See MIT license.

@bumbeishvili
bumbeishvili / README.md
Created February 22, 2018 07:53 — forked from couchand/README.md
Better force layout node selection

Object selection is tough, particularly when the things you'd like to select are moving around (like nodes in a force-directed layout, perhaps). Allowing a user the fudge factor of an area cursor helps, but can get in the way when targets are small enough. The use of a Voronoi tessellation promises a map of closest node for any given point.

This example illustrates the use of a Voronoi overlay to clip nodes in a force-directed simulation. By using the Voronoi shapes as the clipping path the nodes themselves can be drawn much simpler.

This builds on these two examples from Mike Bostock on force-directed graphs and voronoi tesselation, as well as Nate Vack's Voronoi selection example here and this first pass at an integration from Christopher Manning.

@bumbeishvili
bumbeishvili / .block
Created February 22, 2018 07:51 — forked from mbostock/.block
Modifying a Force Layout
license: gpl-3.0
@bumbeishvili
bumbeishvili / .block
Created February 22, 2018 07:35 — forked from mbostock/.block
Brush & Zoom
license: gpl-3.0
@bumbeishvili
bumbeishvili / .block
Created February 22, 2018 07:34 — forked from mbostock/.block
Difference Chart
license: gpl-3.0