Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Word Cloud Example

Public visualization

Viewing a saved revision (read-only)

c48d53ed2a9f42c68dd5cc6f203dc107

Word Cloud Example

2 stars4🌍 Public
KKurtCodeAnyWhere
Last edited Aug 17, 2019
Created on Aug 17, 2019
Forked from Hello VizHub

An interactive word cloud visualizes surname and first-name frequencies from JSON datasets, letting users toggle between "Family Names" and "First Names" via toolbar buttons. The d3.layout.cloud JavaScript library computes non-overlapping word placements using an Archimedean spiral collision algorithm, while D3.js (v3) SVG rendering displays the final text with font sizes scaled linearly. Each dataset is filtered, sorted, and truncated to the top 120 words, with animation during layout computation. Word rotation alternates randomly between horizontal and vertical orientations.

AI-generated description

How to update and change json files in D3 ? Please help me.