@thomasnield would data2viz use SVG for JavaFX? After looking at @gaetan his example yesterday I was under the impression the JavaFX shapes would be used. If those are powerful enough you could build a cross platform dsl which could then "compile" down to an implementation for different platforms (SVG for the web, JavaFX shapes for JavaFX, ...). I have no idea if JavaFX shapes provide enough functionality compared to SVG though.