Skip to content

Instantly share code, notes, and snippets.

View git-ashish's full-sized avatar
🏠
Freelancing – Open to exciting opportunities

Ashish Singh git-ashish

🏠
Freelancing – Open to exciting opportunities
View GitHub Profile
@git-ashish
git-ashish / README.md
Created October 23, 2018 14:30 — forked from emeeks/README.md
Network Annotation with Collision Detection

Using collision detection with network visualization labels

This demonstrates how to use d3-annotation() with bboxCollide to procedurally place node labels. After using the nodes data to create a network visualization of the Les Miserables play, we filter the nodes to leave out the side characters and pass that array to d3-annotation. We then create a second forceSimulation, this time using the size of the notes as the property in our bounding box collision detection, to move the labels out of each others' way.

d3-annotation by Susie Lu.

@git-ashish
git-ashish / README.md
Created October 18, 2018 11:34 — forked from veltman/README.md
Electoral cartograms
@git-ashish
git-ashish / README.md
Created October 17, 2018 15:29 — forked from nbremer/.block
Self Organizing Map - Hexagonal Heatmap - Lines

The end result of my blog on SOM - Adding boundaries inside a hexagonal heatmap in D3.js in which the one heatmap of a Self Organizing Map is displayed with D3 with a small hover event and where boundaries between the overlaying segments have been visualized with black lines

A simpler version without line boundaries can be found here

@git-ashish
git-ashish / .gitignore
Created September 26, 2018 08:45 — forked from starcalibre/.gitignore
Fast Interactive Canvas Scatterplot
.idea/
*.iml
@git-ashish
git-ashish / .block
Created September 17, 2018 12:49 — forked from mbostock/.block
geo2svg
license: gpl-3.0
height: 1100
border: no
@git-ashish
git-ashish / .block
Created September 17, 2018 12:46 — forked from mbostock/.block
Threshold Key
license: gpl-3.0
@git-ashish
git-ashish / .block
Created September 12, 2018 10:53 — forked from mbostock/.block
Arc Deduplication
license: gpl-3.0
@git-ashish
git-ashish / .block
Created September 12, 2018 10:53 — forked from mbostock/.block
Junction Finding
license: gpl-3.0
@git-ashish
git-ashish / .block
Created September 12, 2018 10:52 — forked from mbostock/.block
Ring Cutting
license: gpl-3.0
@git-ashish
git-ashish / .block
Created September 12, 2018 10:49 — forked from mbostock/.block
TopoJSON Parallax
license: gpl-3.0