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

https://github.com/ivnsch/wasm-rust-d3

Fetch data with Rust/WASM and show with JS/d3 example
https://github.com/ivnsch/wasm-rust-d3

d3 javascript rust wasm wasm-bindgen wasm-pack web

Last synced: about 1 year ago
JSON representation

Fetch data with Rust/WASM and show with JS/d3 example

Awesome Lists containing this project

README

          

# WASM / Rust / D3 example

Fetch data with Rust + WASM and show it with JS + D3.

![Chart image](img/img.png)

Scaffolding created using [wasm-pack](https://github.com/rustwasm/wasm-pack)

Instructions:

```sh
wasm-pack build
```
in root folder, to build Rust and generate JS bindings

```sh
npm run start
```
in www folder, to start local server.

Open http://localhost:8080/ in browser.