import { fetchCSV } from "macro:fetchCSV"; export const Covid19 = () => { const rows = fetchCSV("https://covid19.who.int/WHO-COVID-19-global-data.csv", { last: 100, columns: ["New_cases", "Date_reported", "Country"], }); return (

Covid-19

last {rows.length} updates from the WHO
New Cases
Date
Country
{rows.map((row, index) => (
{row[0]}
{row[1]}
{row[2]}
))}
); };