🌍 Public
Viewing a saved revision (read-only)
fefd3e2fc9e74271861723f8c0c87449
Untitled
This visualization shows a hierarchical tree diagram of Chandrapur District towns and villages, with each node represented as a circle sized by its value and colored by its level. Developed using D3.js, the code employs the `d3.tree()` layout and `d3.hierarchy()` to structure the nested data from `data.json`, rendering SVG paths for links and circles for nodes. Node colors and strokes are dynamically set from the `type` and `level` fields in the data, while text labels position children to the left or right based on their depth.
AI-generated descriptionChandrapur District Towns and villages Tree