Skip to main content
Public

Share visualization

Loading preview…

Activity 2_Ques 7 (Tree)

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Activity 2_Ques 7 (Tree)

0
KKeerthiAnnem
Last edited Jul 21, 2023
Created on Jul 17, 2023
Forked from Tree Example

This interactive tree diagram organizes Korean dramas into hierarchical categories, beginning with a root node for “Korean dramas” that branches into action and school genres, then to specific titles like *Vagabond* or *School 2017*, and finally to leading actors. The visualization uses D3.js’s `d3.layout.tree` to compute node positions and `d3.svg.diagonal` to draw connecting links, with animated transitions of 1000 milliseconds as nodes expand from their parent’s position. The SVG rendering applies color-coded fills per hierarchy level (black root, blue categories, red titles, green actors) and relies on `node.enter()` and `transition()` for smooth appearance and movement. Data is hardcoded in the `Aboutkoreandrama` array, with a `README.md` source reference and styling from `styles.css`.

AI-generated description

Tree map

Comments

Sign in to join the discussion.

MIT Licensed