Module

Graphics.D3.Request

Package
purescript-d3
Repository
pelotom/purescript-d3

#RequestError Source

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

#csv Source

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

#tsv Source

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

#json Source

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