Retrieving and Parsing CSV
✓ Published0🌍 Public
This example shows a minimal summary of a CSV dataset loaded from a remote URL, displaying the file size in kilobytes, row count, and column count as large text. It fetches a CSS named colors CSV using d3.csv, then applies d3.csvFormat to measure the data’s size. The page is built with a plain HTML pre element and styled via CSS, rendering the resulting metadata readout directly into the DOM. The code uses D3 v7’s promise-based CSV parsing and formatting functions without any additional framework.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed