Comments (7)
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.
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.
@jasondavies you were right, the problem is with the nan values
from crossfilter.
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.
@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.
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.
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)
- Gulp not findout the main file ( Missing 'main' tag in bower.json ) HOT 1
- group() on filtered dimension shows all results HOT 1
- Current version of CrossFilter from github is not working HOT 1
- expand dimension.top() and dimension.bottom() to include offset parameter HOT 2
- Add bower.json HOT 1
- sort by multiple (nested) dimensions HOT 2
- Execute group asynchronously HOT 1
- D3 Crossfilter Subgroupping HOT 1
- How to manage three dimensions in crossfilter HOT 1
- bottom() malfunction? HOT 2
- What does parameter p and v in the reduce functions stand for ? HOT 3
- JSON Format HOT 1
- Filtering Chart HOT 1
- Maximum call stack exceeded for chrome and chromium
- how to plot non linear data HOT 2
- angularjs controller params Change without reload is breaking on Chrome at ndx.groupAll. HOT 1
- dimension.top(Infinity) is case sensitive? HOT 2
- Motion to archive HOT 2
- Format axis independently HOT 2
- NĀ°1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crossfilter.