Bar defaults
<script lang="ts">
import {
Plot,
BarX,
setPlotDefaults
} from 'svelteplot';
setPlotDefaults({
bar: {
borderRadius: 4,
stroke: 'currentColor',
fill: null
}
});
</script>
<Plot>
<BarX data={[1, 2, 3, 4, 5, 6]} fill={(d) => d} />
</Plot>