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

add d3.scale.interactive? #35

Open
timelyportfolio opened this issue Sep 7, 2016 · 2 comments
Open

add d3.scale.interactive? #35

timelyportfolio opened this issue Sep 7, 2016 · 2 comments

Comments

@timelyportfolio
Copy link
Contributor

There is a very interesting project in development https://github.com/pbeshai/d3-scale-interactive that I think would play very nicely with scatterD3. If interested, let me know, and I can try to integrate.

@juba
Copy link
Owner

juba commented Sep 7, 2016

Nice and useful project that I didn't know of, thanks for the suggestion !

At first look, I see several questions for a potential scatterD3 integration :

  • it seems that this requires d3 v4. I'm working on it, but it may still take some more weeks
  • all options are not very relevant for scatterD3, I'm not sure if it is possible to disable some
  • the main point for me is that allowing people to play with scales types and options would be useful if we allow them to use these options in scatterD3 (for example, using log or ordinal coordinates, changing interpolators...), otherwise it may seem a bit frustrating ?

What do you think ?

@timelyportfolio
Copy link
Contributor Author

Your thoughts make perfect sense and illustrate the gaps in my excitement-induced haste. d3v4 is going to be a big problem with htmlwidgets, since there is no current method of handling the d3 global for both v3 and v4 in the htmwlidgets dependency management. Until htmlwidgets start converting in mass, it is hard to justify the additional time and effort to convert to d3v4. I'm struggling with how to handle this.

Yes, it seems if we add d3-scale-interactive, we would also want to support these same set of options in scatterD3, so we can serialize/save the d3-scale-interactive changes and reuse them in a scatterD3 command.

So, for now, it seems there is a lot more to do first before even attempting to integrate. Still, I think it will be fun once ready.

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