Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
return (
<div>
<div style="{{">
`${datum.name}: ${datum.y}`} />}
legendData={[{ name: 'Cats' }, { name: 'Birds' }, { name: 'Dogs' }]}
legendPosition="bottom"
height={225}
padding={{
bottom: 75, // Adjusted to accomodate legend
left: 50,
right: 50,
top: 50
}}
maxDomain={{ y: 30 }}
themeColor={ChartThemeColor.multiUnordered}
width={650}
>
</div></div>