SANKEY
✓ Published0🌍 Public
Sstanley.shen2003@gmail.com
Last edited Nov 17, 2023
Created on Nov 11, 2023
This visualization uses a Sankey diagram to show the flow of categorical attributes from a car evaluation dataset, with nodes representing distinct values for features like buying price, maintenance, doors, people, luggage boot, and safety. The diagram is rendered using D3 v4's SVG API and a custom `d3.sankey` layout to position nodes and links. Users can drag node rectangles to rearrange the layout, which calls `sankey.relayout`, and the interactive buttons highlight the specified data columns. The dataset is loaded from a static `sankey.data` file using `d3.text` and parsed with `d3.csvParseRows`.
AI-generated descriptionMIT Licensed