I want to divs to be side by side, and have a gap between them, if the screen size is…
- User
I want to divs to be side by side, and have a gap between them, if the screen size is like the size of the table the divs should wrap if not they need to be side by side. Inside those divs there should be a barchart from recharts, they need to be responsive. the max height of the divs are 322px, but the with should be atomatically based on the screen, im using typescript , please provide me a simple example with data for the charts also.
- Assistant
Sure! Here's an example of how you can achieve the desired layout using HTML, CSS, and Recharts library with TypeScript.