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
@almccon
almccon / .block
Last active October 26, 2018 17:28
WebGL Earth demo: watercolor
license: mit
@tomshanley
tomshanley / .block
Last active March 6, 2018 09:06
beeswarm on square and circle path
license: mit
@johnwalley
johnwalley / .block
Last active August 19, 2020 00:38
d3-tube-map + popover
license: mit
@Andrew-Reid
Andrew-Reid / chevronArc.js
Last active September 16, 2018 05:29
Lichen.js Pattern Showcase
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('d3-path')) :
typeof define === 'function' && define.amd ? define(['exports', 'd3-path'], factory) :
(factory((global.d3 = global.d3 || {}),global.d3));
}(this, (function (exports,d3Path) { 'use strict';
var constant$1 = function(x) {
return function constant() {
return x;
};
@bumbeishvili
bumbeishvili / index.html
Created February 2, 2018 11:47 — forked from tomgp/index.html
SVG Arrow heads
<html>
<head>
<title>SVG Arrows with D3</title>
<script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script>
<link rel="stylesheet" type="text/css" href="http://www.toffeemilkshake.co.uk/tgp-ui-styles/ui-style.css">
<style type="text/css">
.arrow{
stroke-width:5;
stroke:#000;
stroke-dasharray:5, 5;
@bumbeishvili
bumbeishvili / d3.js
Created February 1, 2018 09:59 — forked from tomshanley/d3.js
Area chart with negative area
// https://d3js.org Version 4.1.0. Copyright 2016 Mike Bostock.
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(factory((global.d3 = global.d3 || {})));
}(this, function (exports) { 'use strict';
var version = "4.1.0";
function ascending(a, b) {
@Kcnarf
Kcnarf / .block
Last active August 17, 2018 14:16
d3-voronoi-map usage
license: mit
@harrisoncramer
harrisoncramer / .block
Last active March 1, 2018 12:33
Arc Diagram
license: gpl-3.0
@pbeshai
pbeshai / .block
Last active August 4, 2021 11:37
Lasso with d3 v4 and Canvas
license: mit
height: 500
border: no
@AlainRo
AlainRo / README.md
Last active March 11, 2018 12:24
Force Directed with Voronoi selection

Force Directed with Voronoi selection

This is a fork of mbostock's block: Force-Directed Graph where I've added a voronoi overlay. This could have a practical use by not having to click directly on a node in order select it and drag it.



From the original block:

This simple force-directed graph shows character co-occurence in Les Misérables. A physical simulation of charged particles and springs places related characters in closer proximity, while unrelated characters are farther apart. Layout algorithm inspired by Tim Dwyer and Thomas Jakobsen. Data based on character coappearence in Victor Hugo's Les Misérables, compiled by Donald Knuth.