Permalink
Browse files

Remove partition-icicle example.

  • Loading branch information...
1 parent 29f7ade commit 3b641b63fff881570ad544f6bc3af3d679e9fa8e @mbostock mbostock committed Dec 20, 2012
Showing with 0 additions and 38 deletions.
  1. +0 −38 examples/partition/partition-icicle.html
@@ -1,38 +0,0 @@
-<!DOCTYPE html>
-<meta charset="utf-8">
-<title>Partition - Icicle</title>
-<style>
-
-rect {
- stroke: #fff;
-}
-
-</style>
-<body>
-<script src="../../d3.js"></script>
-<script>
-
-var width = 960,
- height = 250,
- color = d3.scale.category20c();
-
-var svg = d3.select("body").append("svg")
- .attr("width", width)
- .attr("height", height);
-
-var partition = d3.layout.partition()
- .size([width, height])
- .value(function(d) { return d.size; });
-
-d3.json("../data/flare.json", function(error, json) {
- svg.data([json]).selectAll("rect")
- .data(partition.nodes)
- .enter().append("rect")
- .attr("x", function(d) { return d.x; })
- .attr("y", function(d) { return d.y; })
- .attr("width", function(d) { return d.dx; })
- .attr("height", function(d) { return d.dy; })
- .style("fill", function(d) { return color((d.children ? d : d.parent).name); });
-});
-
-</script>

0 comments on commit 3b641b6

Please sign in to comment.