Giter Club home page Giter Club logo

Comments (7)

jasondavies avatar jasondavies commented on August 15, 2024 4

This sounds like an issue involving undefined values. See #3.

You can avoid this by filtering them out, by using the patch in #3, or by replacing them with something else that can be sorted.

from crossfilter.

kannes avatar kannes commented on August 15, 2024 1

I ended up here via Google and want to share the solution to my several hour brain-melt problem, I hope that's alright and not abusing the issue tracker.

If you are getting this error and you are certain that your data file does not have any "bad" lines with missing values or the like, make sure you are actually loading that specific data file...

I tried using a column that did not exist in the tsv data file I had loaded but in the one I thought I was using.

from crossfilter.

john-guerra avatar john-guerra commented on August 15, 2024

@jasondavies you were right, the problem is with the nan values

from crossfilter.

hariDasu avatar hariDasu commented on August 15, 2024

i have no NaN or undefined values as i queried my databse to exclude all rows where any field contains them, and i still get this error. tried with 200k rows and reduced to 20k, 15k etc it only ever worked with 2k rows. the dataset only had 5 columns. its a great library but im not sure what else to use for visualizing large datasets.

from crossfilter.

gordonwoodhull avatar gordonwoodhull commented on August 15, 2024

@hariDasu, note that NaN here might not be the constant but any comparison between a number and, say, a string.

I believe the problem arises because it is hard to sort values with the following semantics:

   1<'a'
=> false
   'a'<1
=> false

Therefore your keys must be all numbers or all strings, and your reductions may produce only numbers. (If I understand correctly.)

from crossfilter.

hariDasu avatar hariDasu commented on August 15, 2024

ahh looks like that was my problem using string values for days rather than encoding them out to digits 0-6 or 1-7. thanks @gordonwoodhull

from crossfilter.

csymill26 avatar csymill26 commented on August 15, 2024

I am getting the error "Uncaught RangeError: Maximum call stack size exceeded" when I am using a subset of my data. I have created a dashboard with multiple graphs with a very big data set. I then created a smaller one with a subset of the data, but I am not getting this error message. Any ideas? I know there's not a Nan or infinite loop going on.

from crossfilter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.