# sankey-chart icon

Sankey chart. Gentleface icon, drawn on the 16 px pixel grid. Free, MIT licensed. Page: https://gentleface.com/icons/sankey-chart

- Category: Charts & data
- Use it for: sankey diagram, path analysis, sankey chart, flow analysis
- Tags: sankey, flow, paths, journey, funnel, chart, analytics, streams
- Family: activity, activity-search, area-chart, area-chart-stacked, bar-chart, bar-chart-clock, bar-chart-grouped, bar-chart-grouped-filled, bar-chart-horizontal, bar-chart-off, bar-chart-pencil, bar-chart-plus, bar-chart-search, bar-chart-sparkle, bar-chart-stacked, bar-chart-threshold, bubble-chart, candlestick-chart, cohort-chart, combo-chart, donut-chart, funnel-chart, gantt-chart, heatmap, histogram, line-chart, pie-chart, radar-chart, sankey-chart-three, scatter-chart, treemap, trending-down, trending-up, trending-up-down, venn-diagram, waterfall-chart
- Component name: SankeyChartIcon
- Added: 2026-10-16
- Changed: 2026-10-30 (16 px drawn)

## Alternatives

- `flowchart`: a process with decisions (flowchart)

## Files

Each SVG is 16 × 16 with fill="currentColor". Keep it at 16 px or an exact multiple (32, 48) on whole pixels: a fractional size or position blurs it.

- line-round: https://gentleface.com/svg/line-round/16/sankey-chart.svg · PNG https://gentleface.com/png/line-round/16/sankey-chart.png · https://gentleface.com/png/line-round/32/sankey-chart.png · https://gentleface.com/png/line-round/48/sankey-chart.png
- line-soft: https://gentleface.com/svg/line-soft/16/sankey-chart.svg · PNG https://gentleface.com/png/line-soft/16/sankey-chart.png · https://gentleface.com/png/line-soft/32/sankey-chart.png · https://gentleface.com/png/line-soft/48/sankey-chart.png
- line-sharp: https://gentleface.com/svg/line-sharp/16/sankey-chart.svg · PNG https://gentleface.com/png/line-sharp/16/sankey-chart.png · https://gentleface.com/png/line-sharp/32/sankey-chart.png · https://gentleface.com/png/line-sharp/48/sankey-chart.png
- solid-round: https://gentleface.com/svg/solid-round/16/sankey-chart.svg · PNG https://gentleface.com/png/solid-round/16/sankey-chart.png · https://gentleface.com/png/solid-round/32/sankey-chart.png · https://gentleface.com/png/solid-round/48/sankey-chart.png
- solid-soft: https://gentleface.com/svg/solid-soft/16/sankey-chart.svg · PNG https://gentleface.com/png/solid-soft/16/sankey-chart.png · https://gentleface.com/png/solid-soft/32/sankey-chart.png · https://gentleface.com/png/solid-soft/48/sankey-chart.png
- solid-sharp: https://gentleface.com/svg/solid-sharp/16/sankey-chart.svg · PNG https://gentleface.com/png/solid-sharp/16/sankey-chart.png · https://gentleface.com/png/solid-sharp/32/sankey-chart.png · https://gentleface.com/png/solid-sharp/48/sankey-chart.png

The SVG of every style: https://gentleface.com/icons/sankey-chart.json (`svg`).

## Code (line-round)

The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. For another style, take its SVG from the JSON and swap the path `d`.

### SVG

```svg
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M5 4C6.734 4 7.202 1 11 1L12 1L12 5L11 5C9.266 5 8.798 8 5 8L4 8L4 4L5 4ZM15 5L13 5L13 1L15 1L15 5ZM3 4L3 11L1 11L1 4L3 4ZM12 13L12 15L11.5 15C7.485 15 7.369 11 4.5 11L4 11L4 9L4.5 9C8.515 9 8.631 13 11.5 13L12 13ZM15 15L13 15L13 13L15 13L15 15Z"/></svg>
```

### React

```tsx
// Gentleface "sankey-chart" (line-round), MIT. https://gentleface.com/icons/sankey-chart
import type { SVGProps } from 'react';

export function SankeyChartIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
      <path d="M5 4C6.734 4 7.202 1 11 1L12 1L12 5L11 5C9.266 5 8.798 8 5 8L4 8L4 4L5 4ZM15 5L13 5L13 1L15 1L15 5ZM3 4L3 11L1 11L1 4L3 4ZM12 13L12 15L11.5 15C7.485 15 7.369 11 4.5 11L4 11L4 9L4.5 9C8.515 9 8.631 13 11.5 13L12 13ZM15 15L13 15L13 13L15 13L15 15Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "sankey-chart" (line-round), MIT. https://gentleface.com/icons/sankey-chart -->
<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true">
    <path d="M5 4C6.734 4 7.202 1 11 1L12 1L12 5L11 5C9.266 5 8.798 8 5 8L4 8L4 4L5 4ZM15 5L13 5L13 1L15 1L15 5ZM3 4L3 11L1 11L1 4L3 4ZM12 13L12 15L11.5 15C7.485 15 7.369 11 4.5 11L4 11L4 9L4.5 9C8.515 9 8.631 13 11.5 13L12 13ZM15 15L13 15L13 13L15 13L15 15Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "sankey-chart" (line-round), MIT. https://gentleface.com/icons/sankey-chart -->
<script>
  let props = $props();
</script>

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
  <path d="M5 4C6.734 4 7.202 1 11 1L12 1L12 5L11 5C9.266 5 8.798 8 5 8L4 8L4 4L5 4ZM15 5L13 5L13 1L15 1L15 5ZM3 4L3 11L1 11L1 4L3 4ZM12 13L12 15L11.5 15C7.485 15 7.369 11 4.5 11L4 11L4 9L4.5 9C8.515 9 8.631 13 11.5 13L12 13ZM15 15L13 15L13 13L15 13L15 15Z" />
</svg>
```

### HTML img

```html
<!-- Gentleface "sankey-chart" (line-round), MIT. https://gentleface.com/icons/sankey-chart. An <img> can't take currentColor: it draws black. Inline the SVG or use the CSS mask to color it. -->
<img src="https://gentleface.com/svg/line-round/16/sankey-chart.svg" width="16" height="16" alt="">
```

### CSS

```css
/* Gentleface "sankey-chart" (line-round), MIT. https://gentleface.com/icons/sankey-chart. Takes the text color. */
.icon-sankey-chart {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M5 4C6.734 4 7.202 1 11 1L12 1L12 5L11 5C9.266 5 8.798 8 5 8L4 8L4 4L5 4ZM15 5L13 5L13 1L15 1L15 5ZM3 4L3 11L1 11L1 4L3 4ZM12 13L12 15L11.5 15C7.485 15 7.369 11 4.5 11L4 11L4 9L4.5 9C8.515 9 8.631 13 11.5 13L12 13ZM15 15L13 15L13 13L15 13L15 15Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M5 4C6.734 4 7.202 1 11 1L12 1L12 5L11 5C9.266 5 8.798 8 5 8L4 8L4 4L5 4ZM15 5L13 5L13 1L15 1L15 5ZM3 4L3 11L1 11L1 4L3 4ZM12 13L12 15L11.5 15C7.485 15 7.369 11 4.5 11L4 11L4 9L4.5 9C8.515 9 8.631 13 11.5 13L12 13ZM15 15L13 15L13 13L15 13L15 15Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
}
```

### Data URL

```text
data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M5 4C6.734 4 7.202 1 11 1L12 1L12 5L11 5C9.266 5 8.798 8 5 8L4 8L4 4L5 4ZM15 5L13 5L13 1L15 1L15 5ZM3 4L3 11L1 11L1 4L3 4ZM12 13L12 15L11.5 15C7.485 15 7.369 11 4.5 11L4 11L4 9L4.5 9C8.515 9 8.631 13 11.5 13L12 13ZM15 15L13 15L13 13L15 13L15 15Z'/%3E%3C/svg%3E
```

### Sprite

```html
<!-- Gentleface "sankey-chart" (line-round), MIT. https://gentleface.com/icons/sankey-chart
     Every icon of this style in one file: https://gentleface.com/sprite/line-round.svg
     Serve it from your own origin: <use> does not load from another origin. -->
<svg width="16" height="16" aria-hidden="true"><use href="/sprite/line-round.svg#sankey-chart"/></svg>
```

### SwiftUI

```swift
// Gentleface "sankey-chart" (line-round), MIT. https://gentleface.com/icons/sankey-chart
import SwiftUI

struct SankeyChartIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 5, y: 4))
        p.addCurve(to: CGPoint(x: 11, y: 1), control1: CGPoint(x: 6.734, y: 4), control2: CGPoint(x: 7.202, y: 1))
        p.addLine(to: CGPoint(x: 12, y: 1))
        p.addLine(to: CGPoint(x: 12, y: 5))
        p.addLine(to: CGPoint(x: 11, y: 5))
        p.addCurve(to: CGPoint(x: 5, y: 8), control1: CGPoint(x: 9.266, y: 5), control2: CGPoint(x: 8.798, y: 8))
        p.addLine(to: CGPoint(x: 4, y: 8))
        p.addLine(to: CGPoint(x: 4, y: 4))
        p.addLine(to: CGPoint(x: 5, y: 4))
        p.closeSubpath()
        p.move(to: CGPoint(x: 15, y: 5))
        p.addLine(to: CGPoint(x: 13, y: 5))
        p.addLine(to: CGPoint(x: 13, y: 1))
        p.addLine(to: CGPoint(x: 15, y: 1))
        p.addLine(to: CGPoint(x: 15, y: 5))
        p.closeSubpath()
        p.move(to: CGPoint(x: 3, y: 4))
        p.addLine(to: CGPoint(x: 3, y: 11))
        p.addLine(to: CGPoint(x: 1, y: 11))
        p.addLine(to: CGPoint(x: 1, y: 4))
        p.addLine(to: CGPoint(x: 3, y: 4))
        p.closeSubpath()
        p.move(to: CGPoint(x: 12, y: 13))
        p.addLine(to: CGPoint(x: 12, y: 15))
        p.addLine(to: CGPoint(x: 11.5, y: 15))
        p.addCurve(to: CGPoint(x: 4.5, y: 11), control1: CGPoint(x: 7.485, y: 15), control2: CGPoint(x: 7.369, y: 11))
        p.addLine(to: CGPoint(x: 4, y: 11))
        p.addLine(to: CGPoint(x: 4, y: 9))
        p.addLine(to: CGPoint(x: 4.5, y: 9))
        p.addCurve(to: CGPoint(x: 11.5, y: 13), control1: CGPoint(x: 8.515, y: 9), control2: CGPoint(x: 8.631, y: 13))
        p.addLine(to: CGPoint(x: 12, y: 13))
        p.closeSubpath()
        p.move(to: CGPoint(x: 15, y: 15))
        p.addLine(to: CGPoint(x: 13, y: 15))
        p.addLine(to: CGPoint(x: 13, y: 13))
        p.addLine(to: CGPoint(x: 15, y: 13))
        p.addLine(to: CGPoint(x: 15, y: 15))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

// SankeyChartIcon().frame(width: 16, height: 16) fills with the foreground style. Keep it on whole points to stay crisp.
```

### Compose

```kotlin
// Gentleface "sankey-chart" (line-round), MIT. https://gentleface.com/icons/sankey-chart
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector.addPathNodes
import androidx.compose.ui.unit.dp

val SankeyChartIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "sankey-chart", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M5 4C6.734 4 7.202 1 11 1L12 1L12 5L11 5C9.266 5 8.798 8 5 8L4 8L4 4L5 4ZM15 5L13 5L13 1L15 1L15 5ZM3 4L3 11L1 11L1 4L3 4ZM12 13L12 15L11.5 15C7.485 15 7.369 11 4.5 11L4 11L4 9L4.5 9C8.515 9 8.631 13 11.5 13L12 13ZM15 15L13 15L13 13L15 13L15 15Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

// Icon(SankeyChartIcon, contentDescription = null) tints it with LocalContentColor.
```

### Android XML

```xml
<!-- res/drawable/ic_sankey_chart.xml · Gentleface "sankey-chart" (line-round), MIT. https://gentleface.com/icons/sankey-chart -->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="16dp"
    android:height="16dp"
    android:viewportWidth="16"
    android:viewportHeight="16"
    android:tint="?attr/colorControlNormal">
  <path
      android:fillColor="@android:color/white"
      android:pathData="M5 4C6.734 4 7.202 1 11 1L12 1L12 5L11 5C9.266 5 8.798 8 5 8L4 8L4 4L5 4ZM15 5L13 5L13 1L15 1L15 5ZM3 4L3 11L1 11L1 4L3 4ZM12 13L12 15L11.5 15C7.485 15 7.369 11 4.5 11L4 11L4 9L4.5 9C8.515 9 8.631 13 11.5 13L12 13ZM15 15L13 15L13 13L15 13L15 15Z"/>
</vector>
```

### Flutter

```dart
// Gentleface "sankey-chart" (line-round), MIT. https://gentleface.com/icons/sankey-chart
import 'package:flutter/widgets.dart';

class SankeyChartIcon extends StatelessWidget {
  const SankeyChartIcon({super.key, this.size = 16, this.color});
  final double size;
  final Color? color;

  @override
  Widget build(BuildContext context) => CustomPaint(
        size: Size.square(size),
        painter: _SankeyChartIconPainter(color ?? IconTheme.of(context).color ?? const Color(0xFF000000)),
      );
}

class _SankeyChartIconPainter extends CustomPainter {
  _SankeyChartIconPainter(this.color);
  final Color color;

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(5, 4)
      ..cubicTo(6.734, 4, 7.202, 1, 11, 1)
      ..lineTo(12, 1)
      ..lineTo(12, 5)
      ..lineTo(11, 5)
      ..cubicTo(9.266, 5, 8.798, 8, 5, 8)
      ..lineTo(4, 8)
      ..lineTo(4, 4)
      ..lineTo(5, 4)
      ..close()
      ..moveTo(15, 5)
      ..lineTo(13, 5)
      ..lineTo(13, 1)
      ..lineTo(15, 1)
      ..lineTo(15, 5)
      ..close()
      ..moveTo(3, 4)
      ..lineTo(3, 11)
      ..lineTo(1, 11)
      ..lineTo(1, 4)
      ..lineTo(3, 4)
      ..close()
      ..moveTo(12, 13)
      ..lineTo(12, 15)
      ..lineTo(11.5, 15)
      ..cubicTo(7.485, 15, 7.369, 11, 4.5, 11)
      ..lineTo(4, 11)
      ..lineTo(4, 9)
      ..lineTo(4.5, 9)
      ..cubicTo(8.515, 9, 8.631, 13, 11.5, 13)
      ..lineTo(12, 13)
      ..close()
      ..moveTo(15, 15)
      ..lineTo(13, 15)
      ..lineTo(13, 13)
      ..lineTo(15, 13)
      ..lineTo(15, 15)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

  @override
  bool shouldRepaint(_SankeyChartIconPainter old) => old.color != color;
}
```
