This is an application to demonstrate the use of Paths.scala.js with Scalajs-React to create interactive SVG graphics. See a live example.
The development version can be obtained with
sbt ~fastOptJS
and then opening index-dev-html
. A production version is obtained with
sbt fullOptJS
and then opening index.html
.
The demo shows the various features of Paths.scala.js, but it is mostly static. It is possible to make much more complex charts with animations, as shown in the original Paths.js demo or the React Paths.js demo