happy-hour-0.0.0.4: Generate simple okay-looking bar plots without much effort
Safe HaskellSafe-Inferred
LanguageHaskell2010

Graphics.HappyHour

Synopsis

Documentation

writeBarGraphSvgFile Source #

Arguments

:: FilePath

Where the file will be written. The containing directory must already exist. If there already exists a file at this path, it will be overwritten. If there exists a directory at this path, the action will fail.

-> [(String, Int)]

The data to visualize. Each list entry represents a bar on the plot, ordered from left to right. The String is the label on the X axis, and the Int is the height of the bar.

-> IO () 

Create an SVG file containing a bar graph