Random Graph Generator
This interactive visualization generates a random graph with 80 nodes and 80 links each time the user clicks the canvas. The nodes are sized and colored according to their degree (number of neighbors), using an ordinal color scale mapped from a blue-to-red gradient. The graph is laid out using the d3.layout.force force-directed algorithm, which animates the nodes and links as they settle into position. The implementation uses D3.js (v3) with SVG circles and lines, and each new graph replaces the previous one through transitions that adjust node radius, fill color, and opacity over 800 milliseconds.
AI-generated descriptionRandom Graph Generator
Click anywhere to generate a new random graph.
- The nodes are colored by the number of their neighbors.
- Nodes with higher number of neighbours are bigger.
forked from <a href='http://bl.ocks.org/erkal/'>erkal</a>'s block: <a href='http://bl.ocks.org/erkal/9746513'>Random Graph Generator</a>