Skip to content

Implement a D3 integration #5

@truedat101

Description

@truedat101

I think the steps are binding d3 - > html5 canvas by way of Spacecanvas. Then we load the library via CDN? Or we need to port the library via the Lens.

There are some discussions about this and some examples generally for a pure html5 solution:

https://github.com/uoodsq/d3-canvas
https://www.packtpub.com/en-us/learning/how-to-tutorials/using-canvas-and-d3/

Without doing anything too crazy, you could pull in a fully minified d3 and that's it. Don't bother bringing it into the Lens api space. And then wrap it also... ? Too crazy? Trying to avoid maintaining a weird fork of d3 because we don't yet have a dom unless it's in the webview. Maybe wait on this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions