camjc/elm-chart/2.0.0

NOTE: this package is not compatible with Elm 0.19.1

Chart

An SVG chart library.

Pie

pie : Int -> Dataset -> Svg a

Draws a pie chart of given diameter of the dataset.

Chart.pie 300 [{color = "#0ff", value = 3}, {color = "purple", value = 27}]