
An opinionated and accessible charting library for elm based on gampleman/elm-visualization and elm-community/typed-svg.
The aim of this package is to expose an easy and intuitive api for building a variety of accessible chart types.
It is an opinionated library, because every charting module represents a very specific charting choice. If your aim is to build some personalized charts not covered here, then you should probably try a more low level library such as gampleman/elm-visualization.
All chart modules are being developed with full accessibility in mind (work in progress).
Bar.init
{ margin =
{ top = 10
, right = 10
, bottom = 30
, left = 30
}
, width = 500
, height = 200
}
|> Bar.withStackedLayout Bar.noDirection
|> Bar.render
( [ ("a", 10 ), ("b", 20 )]
, Bar.Accessor (always Nothing)
Tuple.first
Tuple.second
)Find the documentation on Elm's package website.
It expects elm to already be installed and accessible.
$ cd examples
$ elm reactorand open examples.
It expects elm-test to already be installed and accessible.
$ elm-test