Skip to main content
100%

(ICE-8) Task 2A

✓ Published0🌍 Public
GGorantla Sravani
Last edited Nov 2, 2025
Created on Nov 2, 2025

This example shows a three-level tree of programming languages, with root, category, and leaf nodes distinguished by red rounded rectangles, orange circles, and green triangles. Using the D3 v7 library, it builds the hierarchy via `d3.hierarchy` and positions nodes with the `d3.tree` layout, drawing curved links with `d3.linkVertical`. Node labels are placed with an offset, and the SVG is rendered at a fixed 900×550 size, with data hardcoded in the script.

AI-generated description
MIT Licensed

Similar vizzes