# Why my Sankey figure cannot be shown?

**URL:** <https://talk.observablehq.com/t/why-my-sankey-figure-cannot-be-shown/5221>\
**Category:** Help\
**Created:** [June 19, 2021, 1:24pm UTC](https://talk.observablehq.com/t/why-my-sankey-figure-cannot-be-shown/5221 "2021-06-19T13:24:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Heli](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/heli/32/3847_2.png) [@Heli](https://talk.observablehq.com/u/Heli)\
**Post date:** [June 19, 2021, 1:24pm UTC](https://talk.observablehq.com/t/why-my-sankey-figure-cannot-be-shown/5221/1 "2021-06-19T13:24:37Z")

</div>

Dear all, I’m editing a Sankey figure code, but the figure cannot be shown, would you pls kindly take a look at the codes? (the nodes should be 5 rows \* 11 columns, nodes with same type should be in same column)  
[https://observablehq.com/d/52835d0f6f235322](https://observablehq.com/d/52835d0f6f235322)

---

<div class="post-metadata">

**Author:** ![hellonearthis](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/hellonearthis/32/3935_2.png) [@hellonearthis](https://talk.observablehq.com/u/hellonearthis)\
**Post date:** [June 20, 2021, 4:18am UTC](https://talk.observablehq.com/t/why-my-sankey-figure-cannot-be-shown/5221/2 "2021-06-20T04:18:09Z")

</div>

Your referencing in the SVG draw was off.

```auto
 const {nodes, links} = sankey_T(data_T);

```

nodes and links holds the data you want to draw.

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/observablehq/original/2X/3/300146875592244412b67f08bb3466bda2bd9ba0.png)
