Skip to content

Instantly share code, notes, and snippets.

@shacheeswadia
shacheeswadia / index.html
Created October 24, 2018 09:57 — forked from MoritzStefaner/.block
Force-based label placement
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html lang="en">
<head>
<meta charset="utf-8">
<title>Force based label placement</title>
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.js?2.6.0"></script>
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.layout.js?2.6.0"></script>
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.geom.js?2.6.0"></script>
</head>
<body>
@shacheeswadia
shacheeswadia / flare-imports.json
Last active February 23, 2017 08:53 — forked from geow812/bundle.html
Hierarchical edge bundling with dynamically generated arcs for each group
[
{
"name":"root.Jobs.Freelance",
"imports":
[
"root.Freelance.Montrose_High_School",
"root.Freelance.Technology_in_Education",
"root.Freelance.Fandango",
"root.Freelance.ICPA",
"root.Freelance.Showtime",
@shacheeswadia
shacheeswadia / config.json
Created October 4, 2016 08:42 — forked from anonymous/config.json
Bootstrap Customizer Config
{
"vars": {
"@gray-base": "#000",
"@gray-darker": "lighten(@gray-base, 13.5%)",
"@gray-dark": "lighten(@gray-base, 20%)",
"@gray": "lighten(@gray-base, 33.5%)",
"@gray-light": "lighten(@gray-base, 46.7%)",
"@gray-lighter": "lighten(@gray-base, 93.5%)",
"@brand-primary": "darken(#428bca, 6.5%)",
"@brand-success": "#5cb85c",
@shacheeswadia
shacheeswadia / README.md
Last active September 16, 2016 13:53 — forked from christophermanning/README.md
Voronoi Diagram with Force Directed Nodes and Delaunay Links

Created by Christopher Manning

Summary

Nodes are linked to nodes in neighboring cells. The cell's color is a function of its area.

The white lines are the Delaunay triangulation and the purple cells are the Voronoi diagram.

Controls