Skip to content

Instantly share code, notes, and snippets.

View newsummit's full-sized avatar

Steve McClung newsummit

View GitHub Profile
@newsummit
newsummit / README.md
Created November 8, 2015 00:08
Bar Chart: stripped easier
@newsummit
newsummit / README.md
Created November 8, 2015 17:48
Another UI Voronoi

Another implementation of a voronoi to improve clickability small points.

forked from emeeks's block: Another UI Voronoi

@newsummit
newsummit / README.md
Last active November 8, 2015 19:21
all nodes: zoom
@newsummit
newsummit / README.md
Created November 8, 2015 20:37
Ch. 7, Fig. 10 - D3.js in Action
@newsummit
newsummit / README.md
Last active November 16, 2015 11:36
Collapsible Force Layout

This example demonstrates how to create a force layout of a hierarchy whose internal nodes are collapsible. Leaf nodes are shown in orange, while internal nodes (packages) are shown in blue. Clicking on an internal node (without dragging) causes that node to expand or collapse, toggling the visibility of its descendant nodes.

forked from mbostock's block: Collapsible Force Layout

@newsummit
newsummit / README.md
Last active December 14, 2015 22:29
Clustered Force JSON
@newsummit
newsummit / README.md
Last active December 15, 2015 01:02
fresh block
@newsummit
newsummit / README.md
Last active January 21, 2016 04:56
force-multi-foci with convex hulls

I have modified the force-multi-foci example to add a convex hull around each cluster of nodes.

I achieved this by using d3.nest() to create a new dataset of clusters containing the nodes in each cluster. Then in the tick() method I create and update the path element for each cluster in this dataset.

forked from donaldh's block: force-multi-foci with convex hulls

@newsummit
newsummit / README.md
Created January 21, 2016 04:56
force-multi-foci with convex hulls

I have modified the force-multi-foci example to add a convex hull around each cluster of nodes.

I achieved this by using d3.nest() to create a new dataset of clusters containing the nodes in each cluster. Then in the tick() method I create and update the path element for each cluster in this dataset.

forked from donaldh's block: force-multi-foci with convex hulls

forked from newsummit's block: force-multi-foci with convex hulls

@newsummit
newsummit / .block
Last active April 4, 2016 16:20
Cluster Force Layout IV Circle Pack
license: gpl-3.0