fix: reduce sankey margins from 160px to 90px — less wasted space

This commit is contained in:
Usman Baig
2026-03-16 21:30:09 +01:00
parent 40f223cf38
commit bec61c599e

View File

@@ -301,7 +301,7 @@ export default function SankeyJourney({
data={data}
width={chartWidth}
height={chartHeight}
margin={{ top: 8, right: 160, bottom: 8, left: 160 }}
margin={{ top: 8, right: 90, bottom: 8, left: 90 }}
align="justify"
sort="descending"
colors={(node) =>