From 4066b4ad91c26808c1016f75e9bfc1a9a09f5041 Mon Sep 17 00:00:00 2001 From: Marvin Scham Date: Mon, 29 Aug 2022 06:21:37 +0200 Subject: [PATCH] Simplified --- basic-example/basic-example.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basic-example/basic-example.js b/basic-example/basic-example.js index 5bcfb8f..89963df 100644 --- a/basic-example/basic-example.js +++ b/basic-example/basic-example.js @@ -27,7 +27,7 @@ fetch(url) } }); - const fn = (d) => d.count; + const fn = d => d.count; const data = d3.pie().value(fn)(langInfoPrepped); const maxVal = d3.max(langInfoPrepped, fn); const colorScale = d3.scaleLinear().domain([0, maxVal]).range(["azure", "teal"]);