Open hughess opened 1 year ago
When the dataset is empty, we can end up with undefined errors here: https://github.com/evidence-dev/evidence/blob/6baafc11f7568aedf8845809144087ce61d15fe3/packages/core-components/src/lib/unsorted/viz/sankey/SankeyDiagram.svelte#L122
The Sankey diagram should have error handling to stop the page from crashing when an error is encountered, and to supply a helpful error message. This should cover:
sourceCol
andtargetCol
are the sameSeverity
Expected Behavior An
ErrorChart
should be printed to the page.