This repo contains example D bindings to the lightweight-charts library from tradingview. The library is written in Typescript, but with a little js glue code and some D bindings, we can use it from within D+wasm.
See tradingview.js for the JS glue code, and app.d for the D bindings.
I have started work on a generator to create D bindings from typescript definition files.