chart-svg alternatives and similar packages
Based on the "Project" category.
Alternatively, view chart-svg alternatives based on common mentions on social networks and blogs.
Static code analysis for 29 languages.
Do you think we are missing an alternative of chart-svg or a related project?
README
chart-svg
A chart library targetting SVG.
Usage
import Chart
main :: IO ()
main = do
let xs = [[(0.0, 1.0), (1.0, 1.0), (2.0, 5.0)], [(0.0, 0.0), (3.2, 3.0)], [(0.5, 4.0), (0.5, 0)]] :: [[(Double, Double)]]
let ls = fmap (PointXY . uncurry Point) <$> xs
let anns = zipWith (\w c -> LineA (LineStyle w c)) [0.015, 0.03, 0.01] palette1
let lineChart = zipWith Chart anns ls
writeChartSvgHud "lineshud.svg" lineChart
[chart-svg example](other/lineshud.svg)
Examples
See the code in Chart.Examples for practical usage.
The package includes a local chart server in app/example.hs which is a useful way to explore the api.
stack exec examples --file-watch
Also included is construction of this logo:
[](other/venn.svg)
Chart Types
rect
[](other/unit.svg)
line
[](other/line.svg)
text
[](other/text.svg)
glyph
[](other/glyph.svg)
bar
[](other/bar.svg)
surface
[](other/surface.svg)