Discriminated union describing which binder to run and the config to pass it.
The chartType field narrows the associated config to the correct binder-specific type. This is what useD3Adapter and <MaidrD3> consume.
chartType
config
useD3Adapter
<MaidrD3>
Discriminated union describing which binder to run and the config to pass it.
The
chartTypefield narrows the associatedconfigto the correct binder-specific type. This is whatuseD3Adapterand<MaidrD3>consume.