Skip to main content
100%

Fork of Loading and Parsing CSV Data (TaiBif)

✓ Published0🌍 Public
Yyungchiau
Last edited Jan 22, 2022
Created on Jan 22, 2022

This example displays a concise summary of a CSV dataset loaded from a GitHub gist containing TaiBif occurrence records. The page shows three numeric metrics: the file size in kilobytes, the total row count, and the number of columns, rendered in large text. It uses D3 v5's `d3.csv` promise-based method to fetch and parse the data, then `d3.csvFormat` to calculate the byte length. The code also includes commented-out alternatives using the Fetch API with `async`/`await` and `d3.csvParse`.

AI-generated description
MIT Licensed

Similar vizzes