Plot stuff in svg with Elm!

Currently, this library can draw line and area series, grids, axis' with easily configurable ticks and labels.
main =
plot
[ size plotSize
, margin ( 10, 20, 40, 20 )
]
[ line
[ Line.stroke pinkStroke
, Line.strokeWidth 2
]
data
, xAxis
[ Axis.line [ Line.stroke axisColor ]
, Axis.tick [ Tick.viewDynamic toTickStyle ]
, Axis.label [ Label.viewDynamic toLabelStyle ]
]
]Let me know! Open an issue (or PR) or write at #elm-plot in the elm-lang's slack. I focus on meeting my own needs as well as to that of the community, so please don't hesistate! ✨
elm package installelm-reactorand open example
elm-make docs/Docs.elm --output=docs/docs.jsTests are written with elm-test. For further information on elm-test check the documentation. All required dependencies are downloaded and installed when initially running the command.
elm-test