Extremely incomplete and experimental; contributions welcome!
Setting up a dev environment
# Install dependencies yarn # Start bucklescript in watch mode yarn start # In a separate terminal window, run webpack yarn webpack # Then open `./examples/index.html` and you should the line chart from `./examples/lineChart.re`
Currently some of the typings are still quite loose/permissive, if you have any suggestions to tighten them up in an idiomatic OCaml way, please file an issue or PR.
- Arrays (about 50%)
- Number formatting
- Scales (partially)
- Selections (mostly)
- Shapes (lines & areas only at the moment)
- Time Intervals