Skip to main content
100%

Unconstrained WebCola!

✓ Published2🌍 Public
Bbrett@cloudaccelerator.co
Last edited Nov 16, 2020
Created on Nov 10, 2020

This example uses WebCola to perform force-directed graph layout on the Les Misérables character co-occurrence dataset, rendered as SVG circles and lines. The nodes are colored by their group assignment using `d3.scaleOrdinal` with `d3.schemeCategory20`, and link thickness varies with edge weight. Clicking a node fixes it in place while the layout continuously updates, with positions driven by WebCola’s `cola.d3adaptor` and `on("tick")` callback using `d3.json` to load the graph data.

AI-generated description

A bare minimum WebCola page.

See also React Starter.

MIT Licensed

Similar vizzes