Challenge: Change Link Color

Test your understanding of Sankey diagrams by working through this challenge.

We'll cover the following

Problem statement

Starting with the files sankey-formatted-json and sankey.json, change the code so that the color of the links is set by the color of the source node for each link.

Final output

The final output should look like the image below:

Get hands-on with 1400+ tech skills courses.