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

compare performance of projection in d3 vs R #42

Open
aappling-usgs opened this issue Jan 13, 2018 · 2 comments
Open

compare performance of projection in d3 vs R #42

aappling-usgs opened this issue Jan 13, 2018 · 2 comments

Comments

@aappling-usgs
Copy link
Member

Comment from jread in #36 that should be its own issue:

In the future, we'd want to know the cost of doing a projection in browser vs pre-processing it (w/ R or python, etc) and just having d3 load the path. If a viz needs to reproject (e.g., hopping between various views on a national map) then it likely makes sense to do it in browser (?), but if there is only one projection, I would think pre-processing would help us with load times, esp on slower machines or mobile.

So, maybe we need a clean way to do it both ways and implement the one that makes sense for the viz?

@jordansread
Copy link

👍 and perhaps connecting with Mary on how to set up this research task. I think there may be enough profiling or other tools in chrome devtools to compare two different index.html that use the two different patterns.

@aappling-usgs
Copy link
Member Author

Good idea - those tools would be useful and fun to learn about.

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