An open API service indexing awesome lists of open source software.

https://github.com/hiteshjasani/nim-d3

Using the D3.js library from nim
https://github.com/hiteshjasani/nim-d3

d3 d3js library nim nim-lang

Last synced: 19 days ago
JSON representation

Using the D3.js library from nim

Awesome Lists containing this project

README

        

# nim-d3

![test-build-examples](https://github.com/hiteshjasani/nim-d3/workflows/test-build-examples/badge.svg?branch=master)

Nim Foreign Function Interface (FFI) bindings to [d3.js](https://d3js.org).

This is in development and there is still a lot to be written. There
is the ability to create a simple graph today. See
[examples/](examples/) for usage.

![Image of example 5](img/ex5.png)
![Image of example 6](img/ex6.png)

## Install

nim-d3 is available in [nimble](https://github.com/nim-lang/nimble).

`nimble install d3`

or if you have a `.nimble` file then add the following.

`requires "d3 >= 0.1.2"`

NOTE: Run `nimble search d3 --ver` to find out the most recent version
of the library.

## Documentation

Clone the repo and generate the docs

`nimble docs`