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"]);