From f4e7c54483dca69336feb4159143a004496b3531 Mon Sep 17 00:00:00 2001 From: Raphael Chenouard Date: Tue, 24 Apr 2018 11:02:51 +0200 Subject: [PATCH] Update index.html Corrected copy/paste mistakes on glyphs attribute v1, v2, v3 and v4 definitions. --- examples/glyphs/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/glyphs/index.html b/examples/glyphs/index.html index 7f0edde..a14ebbd 100644 --- a/examples/glyphs/index.html +++ b/examples/glyphs/index.html @@ -97,9 +97,9 @@

index.html

.attr("x", interp(scaleX1(d => d.MPG), scaleX2(d => d.Weight))) .attr("y", interp(scaleY1(d => d.Displacement), scaleY2(d => d.Acceleration))) .attr("v1", interp(scale1(d => d.Horsepower), scale1(d => d.Horsepower))) - .attr("v2", interp(scale2(d => d.Weight), scale1(d => d.Horsepower))) - .attr("v3", interp(scale3(d => d.Acceleration), scale1(d => d.Horsepower))) - .attr("v4", interp(scale4(d => d.ModelYear), scale1(d => d.Horsepower))) + .attr("v2", interp(scale2(d => d.Weight), scale2(d => d.Weight))) + .attr("v3", interp(scale3(d => d.Acceleration), scale3(d => d.Acceleration))) + .attr("v4", interp(scale4(d => d.ModelYear), scale4(d => d.ModelYear))) .attr("color", d => colors[cylinders2Color[d.Cylinders]]); glyphs.data(data);