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
- Host: GitHub
- URL: https://github.com/ivnsch/wasm-rust-d3
- Owner: ivnsch
- License: apache-2.0
- Created: 2020-10-25T14:01:10.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-10-25T18:48:46.000Z (over 5 years ago)
- Last Synced: 2025-04-20T09:11:39.068Z (about 1 year ago)
- Topics: d3, javascript, rust, wasm, wasm-bindgen, wasm-pack, web
- Language: Rust
- Homepage:
- Size: 118 KB
- Stars: 19
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE_APACHE
Awesome Lists containing this project
README
# WASM / Rust / D3 example
Fetch data with Rust + WASM and show it with JS + D3.

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.