🌍 Public
Viewing a saved revision (read-only)
aa974fea12ad4991815a71a9e04e155a
Test
This example demonstrates a word cloud layout algorithm that arranges words at varying font sizes and orientations without overlap. The visualization uses the d3-cloud library with d3-dispatch to place words in a spiral pattern, while d3-selection renders the resulting text elements as SVG. The code includes both browser-based and Node.js implementations, with the Node version using the canvas package to compute word placements. The layout is animated through a step timer that processes words incrementally, and the rendering displays words in the Impact font with random sizes between 10 and 100 pixels.
AI-generated descriptionA demonstration of SVG shapes
BSD-3-Clause Licensed