Our data visualization chart components have some props that should be somewhat standardized across our components in order to be most useful:
[x] Currently, our pattern is to use dataKey and dataValue in order to allow our components to use data that is structured properly but does not need to conform to a naming conventions. This convention should be extended to categories.
[x] Synchronize scatterplot set default domain prop logic across the other components
Our data visualization chart components have some props that should be somewhat standardized across our components in order to be most useful:
[x] Currently, our pattern is to use dataKey and dataValue in order to allow our components to use data that is structured properly but does not need to conform to a naming conventions. This convention should be extended to categories.
[x] Synchronize scatterplot set default domain prop logic across the other components
[x] Add a prop to format the X and Y axis - mostly this will be taking in the formatters from our standard formatters (https://github.com/hackoregon/civic/blob/master/packages/component-library/src/utils/formatters.js), but could take in any function.