https://github.com/simonh1000/elm-charts
Elm library for simple bar and pie charts
https://github.com/simonh1000/elm-charts
Last synced: 2 months ago
JSON representation
Elm library for simple bar and pie charts
- Host: GitHub
- URL: https://github.com/simonh1000/elm-charts
- Owner: simonh1000
- License: bsd-3-clause
- Created: 2015-11-02T06:37:02.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-29T16:53:39.000Z (over 8 years ago)
- Last Synced: 2025-03-20T19:28:32.225Z (3 months ago)
- Language: Elm
- Homepage:
- Size: 61.5 KB
- Stars: 16
- Watchers: 3
- Forks: 6
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Elm Chart library
An Elm library for creating simple horizontal and vertical bar charts, and for pie charts.
This library supports three basic chart types. The horizontal bar chart is built with simple div elements (based on an idea from [D3](https://d3js.org)); the vertical one uses a flexbox layout and some CSS transforms, while the Pie chart builds on [this post](http://www.smashingmagazine.com/2015/07/designing-simple-pie-charts-with-css/) using Svg elements.

## Try the examples
```
cd examples
elm-reactor
```load http://localhost:8000
## Changelog
3.1.0 - Add dimensions to model and use these for the line chart