Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Word Cloud Example

Public visualization

Viewing a saved revision (read-only)

7ba0728f8f114000a819e2f03271718d

Word Cloud Example

0 stars0🌍 Public
Kkaviya-ds
Last edited Sep 3, 2020
Created on Aug 30, 2020
Forked from Word Cloud Example

This example presents a word cloud visualization that arranges text tags by frequency, with larger words representing higher values in the input data. The layout algorithm, based on Jason Davies’s implementation, places words using an Archimedean spiral to avoid collisions. The code uses the `d3.layout.cloud` API with `.size()`, `.padding()`, `.rotate()`, and `.font()` configurations. After layout, the `d3.select("body").append("svg")` chain renders the results, applying font size and family via inline styles, with animated placement driven by the `setInterval` timer in the cloud layout process.

AI-generated description

A bare minimum HTML page.

See also React Starter.