-
Notifications
You must be signed in to change notification settings - Fork 108
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
Create a DEMO showing how to integrate Binding.scala with d3.js #32
Comments
Simple example using my facade fdietze/scala-js-d3v4: import org.scalajs.d3v4._
@dom
def render = {
val res = <div></div>
val node = d3.select(res)
node.append("div").text("hello from d3")
res
} |
Looks very simple. @fdietze, would you mind adding the DEMO to https://github.com/ThoughtWorksInc/Binding.scala/wiki/ScalaFiddle-DEMOs ? |
For that I would need to add my d3v4 facade to ScalaJS-Fiddle. But since my facade is published using bundler and is not released yet, this is a more difficult process. It should be straight-forward using d3v3 with https://github.com/spaced/scala-js-d3 though. I could do that in the future, but currently I have other priorities. |
No description provided.
The text was updated successfully, but these errors were encountered: