From 4fc1a943d01d270e7838c97bb8ee48ca15da20be Mon Sep 17 00:00:00 2001 From: Jason Davies Date: Thu, 26 Apr 2018 13:08:43 +0100 Subject: [PATCH] Remove fill from example. --- examples/browserify.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/examples/browserify.js b/examples/browserify.js index 374e176..d0fbe10 100644 --- a/examples/browserify.js +++ b/examples/browserify.js @@ -1,8 +1,6 @@ var d3 = require("d3"), cloud = require("../"); -var fill = d3.scale.category20(); - var layout = cloud() .size([500, 500]) .words([ @@ -29,7 +27,6 @@ function draw(words) { .enter().append("text") .style("font-size", function(d) { return d.size + "px"; }) .style("font-family", "Impact") - .style("fill", function(d, i) { return fill(i); }) .attr("text-anchor", "middle") .attr("transform", function(d) { return "translate(" + [d.x, d.y] + ")rotate(" + d.rotate + ")";