add popup, table & chart

This commit is contained in:
CanbiZ 2025-01-30 13:43:24 +01:00
parent e2b548a7c3
commit a38e9070ef
3 changed files with 99 additions and 33 deletions

View file

@ -166,7 +166,7 @@ const DataFetcher: React.FC = () => {
{showChart ? "Hide Chart" : "Show Chart"}
</button>
</div>
{showChart && <ApplicationChart data={filteredData} />}
<ApplicationChart data={filteredData} />
<div className="mb-4 flex justify-between items-center">
<p className="text-lg font-bold">{filteredData.length} results found</p>
<select value={itemsPerPage} onChange={handleItemsPerPageChange} className="p-2 border">