Tuesday, 30 July 2019

d3 returns error `e is not a function` while passing nest data to d3.stack

The following code is throwing the error e is not a function from D3:

var stack = d3.stack()
    .offset("zero")
    .keys(Object.keys(data[0]))(nest);

The below images show the error in detail:

This is the error when I run it.

error is taking to d3.min.js

Formatted code in browser

This is the error when I run it, the error appears in d3.min.js. How do I fix this?



from d3 returns error `e is not a function` while passing nest data to d3.stack

No comments:

Post a Comment