Skip to content

Instantly share code, notes, and snippets.

@geow812
geow812 / flare-imports
Created September 25, 2013 08:29
This is an example to show how to arrange the layout using hierachical data for the example: http://mbostock.github.com/d3/talk/20111116/bundle.html
[
{
"name":"employers.Freelance",
"imports":[
"region1.Montrose_High_School",
"region1.Technology_in_Education",
"region1.Fandango",
"region1.ICPA",
"region1.Showtime",
"region1.VVF",
@geow812
geow812 / bundle.html
Created November 29, 2012 23:25
Hierarchical edge bundling with dynamically generated arcs for each group
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<link type="text/css" rel="stylesheet" href="Styles/style.css"/>
<style type="text/css">
path.arc {
cursor: move;
fill: #fff;