You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

bs-d3

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bs-d3

Experimental d3 5.x bindings for BuckleScript

0.1.0
latest
Source
npmnpm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

Build Status

bs-d3

WIP d3 5.x bindings for Bucklescript.

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`

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, bar, and pie 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

Keywords

bucklescript

FAQs

Package last updated on 27 Jan 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts