| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Graphics.Plotly.Blaze
Contents
Description
Plot traces to html using blaze-html
Example code:
plotHtml :: Html ()
plotHtml = toHtml $ plotly "myDiv" [trace] & layout . title ?~ "my plot"
& layout . width ?~ 300
where trace is a value of type Trace
Documentation
script tag to go in the header to import the plotly.js javascript from the official CDN