fetch csv etc
✓ Published0🌍 Public
This example demonstrates how to fetch a remote CSV file using D3’s `d3.csv` method and display basic metadata about the dataset in plain text. It renders the file size in kilobytes, the number of columns, and the number of rows into a `<pre>` element. The code loads a CSS color list from a GitHub gist, and uses `d3.csvFormat` to calculate the raw data’s size. React is imported but unused, while D3 v7 handles the asynchronous data loading and parsing.
AI-generated descriptionReact Starter code.
MIT Licensed