diff --git a/src/components/Shared/Geography/index.jsx b/src/components/Shared/Geography/index.jsx new file mode 100644 index 0000000..bf3f29e --- /dev/null +++ b/src/components/Shared/Geography/index.jsx @@ -0,0 +1,97 @@ +import { useTheme } from '@mui/material'; +import { ResponsiveChoropleth } from '@nivo/geo'; +import PropTypes from 'prop-types'; +import { geoFeatures } from '../../../data/mockGeoFeatures'; +import { tokens } from '../../../theme'; + +const GeographyChart = ({ data, isDashboard = false }) => { + const theme = useTheme(); + const colors = tokens(theme.palette.mode); + return ( + + ); +}; + +GeographyChart.propTypes = { + data: PropTypes.oneOfType(['object']).isRequired, + isDashboard: PropTypes.bool.isRequired, +}; + +export default GeographyChart;