Module

Graphics.D3.Request

Package
purescript-d3
Repository
pelotom/purescript-d3

#RequestError Source

type RequestError = { status :: Number, statusText :: String }

#csv Source

csv :: forall a e. String -> (Either RequestError (Array Foreign) -> Eff (d3 :: D3 | e) a) -> D3Eff Unit

#tsv Source

tsv :: forall a e. String -> (Either RequestError (Array Foreign) -> Eff (d3 :: D3 | e) a) -> D3Eff Unit

#json Source

json :: forall a e. String -> (Either RequestError Foreign -> Eff (d3 :: D3 | e) a) -> D3Eff Unit