DEV Community

Cover image for Tangled Tree with D3 and React Part #1
Nitin Reddy
Nitin Reddy

Posted on • Edited on

2 1

Tangled Tree with D3 and React Part #1

D3 has been a blessing in disguise for data visualisation in a front-end world with features provided out of the box. You can build some cool set of visualisations ranging from charts to graphs, and so on.

In this article we are going to learn how to build a tangled tree with D3JS and React.

Alt Text

Some inspiration that I took from are:-

We basically have to divide the component into two sections:

  1. Logic to create the meaningful data
  2. JSX for the SVG components

You can find the code blocks in the codesandbox that I have created.

Currently this is for a static data but you can generate the tangled tree with few modifications.

Please let me know your thoughts and also share this article.

Happy learning!!

AWS GenAI LIVE image

How is generative AI increasing efficiency?

Join AWS GenAI LIVE! to find out how gen AI is reshaping productivity, streamlining processes, and driving innovation.

Learn more

Top comments (0)

AWS GenAI LIVE image

Real challenges. Real solutions. Real talk.

From technical discussions to philosophical debates, AWS and AWS Partners examine the impact and evolution of gen AI.

Learn more