Skip to content

avh4/elm-dataviz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This package provides a simple way to render tabular views of data.

import Table

data =
    [ [ 1, 2, 3, 4 ]
    , [ 10, 5, 24, 3, 7]
    , [ 2, 7, 23903, 4039 , 1024, 2 ]
    ]

main =
    data
    |> Table.table
        [ ("sum", List.sum >> toString)
        , ("min", List.foldr min 9999 >> toString)
        , ("max", List.foldr max -9999 >> toString)
        ]

Running the examples from source

(cd examples; elm-package install; elm-reactor)
open http://localhost:8080/AllExamples.elm

About

simple rendering of tabular data

Resources

Stars

Watchers

Forks

Packages

No packages published