Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Data Visualization Homework 8: Sankey Diagram

Public visualization

Fork of Data Visualization Homework 8: Sankey Diagram

0 stars0🌍 Public
Jjerry70938@gmail.com
Last edited Oct 29, 2024
Created on Oct 28, 2024

This Sankey diagram visualizes car evaluation results from the car.data dataset, showing how attributes like buying price, maintenance cost, doors, persons, luggage boot, and safety flow into final acceptability ratings. The diagram uses d3.sankey() to compute node positions and link paths, with nodes colored by attribute category and rendered as SVG rectangles. Links are grouped by source-target pairs and their thickness represents the count of cars with that combination. Interactive dragging of nodes is enabled through d3.drag(), allowing users to rearrange the visualization dynamically.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed