Renderer: SVG
Module: vizart-path
Data: UK 2050 Energy Consumption
Doc: API
import { sankey } from 'vizart-path'; import 'vizart-path/dist/vizart-path.css'; const options = { chart: { margin: { left: 30, right: 30, top: 10, bottom: 30 } }, }; const _data = ... const _chart = sankey('#chart', options); _chart.render(_data);