Skip to content

Network Demo

This demo shows how to use ChartFactor to render a network graph. The information represents software packages in npm (Node Package Manager). The size and color of the nodes represent their degree of connectivity with the rest of the sample.

With this demo you can try out the different layouts available for the network graphs as well as the different color themes and some configuration options.

If you want to see the demo in full screen click here

Review the complete source code and copy/paste it to create your own.
1
{"action": "import", "url": "../cf-demos/network-demo/index.html"}
1
{"action": "import", "url": "../cf-demos/network-demo/index.js"}
1
{"action": "import", "url": "../cf-demos/network-demo/style.css"}