Skip to main content
100%

Vaping Twitter

✓ Published0🌍 Public
AAvineet Kumar Singh
Last edited Mar 24, 2021
Created on Mar 24, 2021
Forked from RADIAL TREE 2

This radial tree visualization maps the sentiment of vaping-related tweets, branching from a central root into positive, negative, and neutral categories, with sub-branches for marketing, personal, and other content. The code loads hierarchical CSV data with `d3.csv`, structures it using `d3.stratify`, and computes the radial layout with `d3.tree`. Links are drawn using `d3.linkRadial`, while nodes are positioned via custom trigonometric functions. The SVG rendering applies light blue, semi-transparent strokes, and each leaf node displays a label with white-text shadowing for readability.

AI-generated description

Radial Tree Visualization of Vaping Related Tweets

Adapted from Curran Kelleher’s Block "World Countries Hierarchy".

MIT Licensed

Similar vizzes