Deploy code to my web application

Hi,

I forked a notebook and created my version here

How do I deploy this chart code into my web application and make a json request to send/populated custom data to it?

Anybody have an example on how to work with custom data and this framework from observable?

I mean your chart code should work (or almost work) as JavaScript. You would just append it to a container node: Getting started | D3 by Observable