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

Preprocess/Compress when too much data, so the presentation is clear #43

Open
5 tasks
breznak opened this issue Dec 11, 2015 · 0 comments
Open
5 tasks

Comments

@breznak
Copy link
Member

breznak commented Dec 11, 2015

Another user feedback, when plotting too much data (eg 100k+), the graph becomes polluted, the points are too close together and we don't see any differences.

An example is when rendering the examples/CSV/sine_huge_100k.csv, the sine looks like a green horizontal stripe.

My proposal:

  • set a max number of (logical) points that should be rendered on a graph (resolution=10k)
  • if the number of actual data points (eg. size=100k) is bigger,
    • compute reduction ratio (resolution/size)
    • subsample (choose every nth, average, ...?) the data
    • plot the subsampled graph

What are the statistics/preprocessing frameworks for JS? Do you have any favourites?

What do you think?

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

1 participant