plotlyhs-0.2: Haskell bindings to Plotly.js
Graphics.Plotly.Simple
Description
Functions to build Traces from standard data. Generated traces can still be customized with lenses
Synopsis
scatterPlot :: [(Double, Double)] -> Trace Source #
Generate a scatterplot from pairs
linePlot :: [(Double, Double)] -> Trace Source #
Generate a line plot from pairs
hbarChart :: [(Text, Double)] -> Trace Source #
Generate a horizontal bar chart from pairs of text and value.
fanPlot :: Double -> [(Double, (Double, Double))] -> Trace Source #
Generate a fan plot with a given width in standard deviations and (x,(y,sd)) data