Skip to content

Latest commit

 

History

History
33 lines (27 loc) · 552 Bytes

codeReferencingWithTripleHatNotation.md

File metadata and controls

33 lines (27 loc) · 552 Bytes
elm
dependencies
gicentre/elm-vegalite
latest
import VegaLite exposing (..)

Teaser ^^^elm v=barChart^^^

Bicycle Hires

barChart : Spec
barChart =
    let
        enc =
            encoding
                << position X [ pName "AvHireTime" ]
                << position Y [ pAggregate opCount ]
    in
    toVegaLite
        [ dataFromUrl "http://gicentre.github.io/data/bicycleHiresLondon.csv" []
        , enc []
        , bar []
        ]

Frequency distribution

^^^elm v=barChart^^^