Skip to main content
Public

Share visualization

Loading preview…

operation 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

operation tree

0
Vvenkatajayanth03
Last edited Jul 10, 2022
Created on Jul 10, 2022
Forked from Family Tree

This example visualizes a hierarchical tree from JSON data, with nodes represented as colored boxes and links connecting them. The data uses a recursive structure with node names, types, and labels, and each node carries a link object indicating direction. The visualization is built with D3 version 3, using `d3.layout.tree()` to compute the tree layout and SVG for rendering. It also incorporates jQuery for DOM interaction, arrow definitions, and zooming and dragging behavior via `d3.behavior.zoom`. The tree structure is color-coded by node type, with tooltips available for additional details.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.

Comments

Sign in to join the discussion.

MIT Licensed