package c3
OCaml bindings for the Javascript c3 charting library.
Install
Dune Dependency
Authors
Maintainers
Sources
v0.4.0.tar.gz
sha256=6aa4d920fc70ad49e270d79c002807eb1ef6181a2194f3547d79a1c90a0aa494
md5=805cc7d350efc21c060dac8e577fa15a
README.md.html
ocaml-c3
OCaml bindings for the Javascript c3 charting library.
If you want to write a client-side web application in OCaml with js_of_ocaml
and display some charts, this library is for you.
The C3 library: to see the kinds of things that are possible with the Javascript C3 library
The OCaml demo: to see the example from this repo.
Getting started
install all the dependencies, for example by:
opam pin add c3 .
build the library and example site:
make
serve the example site:
make example
View the example on http://localhost:8080/
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>