Tidy Tree Visualization with D3.js in Angular

Jen-Hsuan Hsieh (Sean)
A Layman
Published in
6 min readMay 5, 2024

--

Introduction

In the previous article, we learned the introduction to D3 and how to append nodes, append edges, handle events on SVG with D3.

Tidy tree is the tree layout produces tidy node-link diagrams of trees using the Reingold–Tilford “tidy” algorithm. When arranging nodes for a specific data structure like a tidy tree, using the existing layout is a way to save time.

In this article, we will go through how to create an Angular application to visualize a tidy tree with D3 (v7).

Agenda

There are a few topics in this article.

About this series

This series aims to learn technologies for visualization.

--

--

Jen-Hsuan Hsieh (Sean)
A Layman

Frontend Developer🚀 Angular • React • Nest • Electron • Micro-frontend • Monorepo Architecture • https://daily-learning.herokuapp.com/