Skip to main content
100%

node tree of Pakistan

✓ Published0🌍 Public
Sshehrbano1248
Last edited Jun 14, 2020
Created on Jun 14, 2020

A node tree visualizes the administrative hierarchy of Pakistan, starting from the root "Pakistan" and branching to a single child node "AJK". The tree layout is generated using D3 v5's `d3.hierarchy`, `d3.tree`, and `d3.linkHorizontal` functions, with nodes represented as text labels and edges as styled SVG paths. The visualization renders in a `width` 960 by `height` 500 SVG canvas, uses a custom zoom interaction via `d3.zoom`, and applies a Playfair Display font with text shadows for readability.

AI-generated description
MIT Licensed

Similar vizzes