This application was initialized using npm init @open-wc
.
Then, instructions from Pluralsight course Build your first data visualisation with D3
were used to build the D3 graph in a separate web component.
This application was built using web components using LitElement to make that easier.
-
Install node (which includes npm), and make sure that you have it available from your command line.
-
Note that this application was created using node v14.15.0 and npm 6.14.8. Other versions might work.
-
-
Clone this repository
-
From a command line, run:
-
npm install
to install all dependencies -
npm run start
to run a local dev server
-
-
Load localhost:8000 in a browser
Have look add the scripts section in package.json
for more stuff that you can run using npm run …
.
- What are web components
- Working with web components
-
-
Convenience stuff for web components: https://lit-element.polymer-project.org/
-
Templating library: https://lit-html.polymer-project.org/
-
Quickly setup a web components project: https://open-wc.org/
-
- Graphics library
- The document that you’re now reading was created using