/bs-d3

Experimental d3 4.x bindings for BuckleScript

Primary LanguageOCamlMIT LicenseMIT

Build Status

bs-d3

WIP d3 5.x bindings for Bucklescript.

Extremely incomplete and experimental; contributions welcome!

Build

npm run build

Build + Watch

npm run start

Current status

d3 has a large API surface, so there's still a lot to do! However, the pieces are already in place to draw line and area charts

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.

  • Axes
  • Arrays (about 50%)
  • Brushes
  • Chords
  • Brushes
  • Collections
  • Colors
  • Dispatches
  • Dragging
  • Easings
  • Forces
  • Number formatting
  • Geo
  • Hierarchies
  • Interpolators
  • Paths
  • Polygons
  • Quadtrees
  • Scales (partially)
  • Selections (mostly)
  • Shapes (lines & areas only at the moment)
  • Time Intervals
  • Timers
  • Transitions
  • Voronoi
  • Zooming