Fork of Fork of Fork of Hello HTML
✓ Published0🌍 Public
This example demonstrates a React and D3 visualization that displays the size and row count of a CSS named colors dataset loaded from a CSV file. The interface initially shows a loading message, then renders a concise summary of the data once fetched. The code uses React hooks (`useState`, `useEffect`) to manage asynchronous data loading, and the `d3.csv` function to parse the dataset. The `message` utility formats the output by computing the CSV file size in kilobytes using `d3.csvFormat` and reporting the number of data rows.
AI-generated descriptionA bare minimum HTML page.
MIT Licensed