gaetan
07/07/2017, 10:45 PMsvg
in the DSL made sense. But after a first look at JavaFX, the concepts are very similar but are not SVG. So I think we should have a more general term maybe panel
or something similar. At the end all charts and visualization are made using basic shapes that can be easily implemented in JavaFX or svg (see https://github.com/d3/d3-shape).
I didn’t want to spend to much time on multiplatform for the moment because, as @orangy said, it’s an “undocumented, unsupported, work in progress”. But the mechanisms are already here as you can see on kotlinx.html project with this implementation (https://github.com/Kotlin/kotlinx.html/blob/2ab86309fd4cba99c71461eeed3d76a9d0961645/jvm/src/main/kotlin/utilsImpl.kt#L3) corresponding to that header (https://github.com/Kotlin/kotlinx.html/blob/2ab86309fd4cba99c71461eeed3d76a9d0961645/shared/src/main/kotlin/util.kt#L17).
This mechanism will allow us to have a complete different implementation for the same DSL.
So there is a lot of work to do but it’s promising.
In parallel of the library, we are also working on a online platform that will allow to create visualizations based on the library (and the DSL). The idea is to propose a kind of codepen for dataviz.