gipsy-king/radar-chart

An SVG radar chart


License
MIT
Install
elm-package install gipsy-king/radar-chart 1.0.1

Documentation

Radar Chart

A small library to display just one type of charts: radar charts, also known as web chart, spider chart, spider web chart, star chart, star plot, cobweb chart, irregular polygon, polar chart, or Kiviat diagram.

Sample output

Installation

Run the following command in the root of your project

$ elm install gipsy-king/radar-chart

and import the library in an elm file like this

import RadarChart

Usage

RadarChart.view
  RadarChart.defaultOptions
  [ "Values", "Variables", "Conditionals", "Loops", "Functions", "Programs" ]
  [ { color = "yellow", data = [ 120, 500, 310, 130, 300, 180 ] } ]

See the documentation for more information on what the parameters are!

Documentation

Find the documentation on Elm's package website.

Development

Setup

$ cd examples
$ elm reactor

and open examples.