Search⌘ K
AI Features

Challenge: Nodes and Links

Explore how to modify a simple horizontal tree diagram in D3 by changing the color of non-leaf node text to red and customizing links so leaf node connections are straight while others are curved. This lesson helps you practice selective styling and link path manipulation in hierarchical data visualizations.

We'll cover the following...

Problem statement

Starting with the file ...