A Sankey diagram is a data visualization that depicts flows between groups. They consist of several nodes (typically represented by rectangles of varying width) that are linked together by lines or arrows with a width that is proportional to their flow rate.
This visualization is very popular on the “DataIsBeautiful” subreddit . I chose to make this diagram for the assignment because I enjoy seeing them on r/DataIsBeautiful and the Titanic data set seemed like it was structured specifically for this type of visualization.