Skip to content
b4youleapPublic

About

A simple D3 example with Lit

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

Repository files navigation

D3LIT

D3js starter using Lit, Vite, TS

Started with the Lit template, then added d3.

Command Sequence:

npm 7+, extra double-dash is needed:

npm create vite@latest d3lit -- --template lit-ts cd d3lit npm install

Note: tested here to make sure it ran out of the box.

npm install d3-selection --save npm install @types\d3-selection --save

  • Created d3-component folder and contents
  • added d3-importer
  • modified index.html to load d3-component module
  • thinned down index.css

npm run dev

Good luck!

About

A simple D3 example with Lit

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages