Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

filter NaN values out of data #92

Open
cnavarreteliz opened this issue Sep 5, 2018 · 3 comments
Open

filter NaN values out of data #92

cnavarreteliz opened this issue Sep 5, 2018 · 3 comments

Comments

@cnavarreteliz
Copy link
Contributor

[
    {value: 10, id: "alpha"},
    {value: 30, id: "alpha"},
    {value: 50, id: "alpha"},
    {value: 20, id: "beta"},
    {value: 40, id: "beta"},
    {value: NaN, id: "beta"}
]

In datasets received by d3plus, filter the nan values.

@davelandry
Copy link
Member

@cnavarreteliz because every visualization uses their own set of values ("size" for Treemap, "x" and "y" for BarChart), this will probably have to be done at the visualization level (and not in d3plus-viz).

Does this break every type of chart, or just specific ones?

@davelandry davelandry changed the title Filter NaN values filter NaN values out of data Sep 5, 2018
@cnavarreteliz
Copy link
Contributor Author

@davelandry I've been investigating more about this bug, and I found that the NaN problem is related with Plot.js, but I haven't identified yet the root cause of the problem.
image

Steps for to reproduce in VizBuilder:

  • Showing: Record Count
  • Grouped by: PUMS Industry
  • At depth level: Industry Sector

@davelandry
Copy link
Member

thanks for the update @cnavarreteliz! can you try using the underlying data in a sandboxed jsfiddle so that we can isolate which chart(s) is causing the error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants