From 7325ffdf05c7241a20eb25b6c566a78c24990dba Mon Sep 17 00:00:00 2001 From: Paul Irish Date: Wed, 8 Apr 2020 17:24:51 -0700 Subject: [PATCH] Fix link to treemap paper by Bruls --- src/treemap.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/treemap.ts b/src/treemap.ts index ccc6391..869aa4e 100644 --- a/src/treemap.ts +++ b/src/treemap.ts @@ -153,7 +153,8 @@ export class TreeMap { ): {end: number; sum: number} { // Add rectangles one by one, stopping when aspect ratios begin to go // bad. Result is [start,end) covering the best run for this span. - // http://scholar.google.com/scholar?cluster=5972512107845615474 + // See: Bruls, et al. "Squarified treemaps." (2000) + // https://scholar.google.com/scholar?cluster=16156845309181182620&hl=en&as_sdt=2005&sciodt=0,5 let smin = children[start].size; // Smallest seen child so far. let smax = smin; // Largest child. let sum = 0; // Sum of children in this span.