This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
Tufte plots in SVG and Elm!
version 5.0.1
license BSD3
native-modules False
elm-version 0.18.0 <= v < 0.19.0
Tag 5.1.0
Committed At 2017-04-07 07:30:36 UTC
myrho/elm-round 1.0.0 <= v < 2.0.0 1.0.4
elm-lang/svg 2.0.0 <= v < 3.0.0 2.0.0
elm-lang/html 2.0.0 <= v < 3.0.0 2.0.0
elm-lang/core 5.0.0 <= v < 6.0.0 5.1.1
debois/elm-dom 1.2.3 <= v < 2.0.0 1.3.0



Elm Plot

Plot stuff in SVG with Elm! Go check it out here.


So, in the spirit of Elm which, with its many opinions, aims to guide you towards elegant architecture, I've made this opinionated plotting library aimed at guiding you towards more elegant and expressive plots! Of course, it's not just my own preferences I impose on you, but yet another straight (?) white guy called Edward Tufte, who wrote the book The Visual Display of Quantitative Information, and had a lot of great ideas on how to make plots more readable. However, if you find that these opinions are keeping you from doing something incredibly vital, then let's talk about it and see if it makes sense to allow it.

Graphical excellence is that which gives to the viewer the greatest number of ideas in the shortest time with the least ink in the smallest space. - Edward Tufte

What does the api look like?

Something like this:

    main =
        [ area ( (\{ x, y } -> circle x y)) ]
        [ { x = 0, y = 1 }
        , { x = 2, y = 2 }
        , { x = 3, y = 3 }
        , { x = 4, y = 5 }
        , { x = 5, y = 8 }

You're welcome to take a look at the docs folder for more examples!

Missing something?

Let me know! Open an issue (or PR) or write in slack. Please don't hesitate, I'm happy to answer any questions or receive feedback!



elm package install

and open docs (The docs contain a bunch of examples convenient for developing).

Compile the Docs

elm-live docs/src/Docs.elm --output=docs/docs.js


Tests 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.