Skip to main content
100%

dv2020-ep15-viz15 - Parsing Data with D3 (long way)

✓ Published1🌍 Public
Zzach b.
Last edited Mar 12, 2023
Created on Mar 12, 2023

This example demonstrates a minimal workflow for parsing fetched CSV data with D3, displaying the resulting file size, row count, and column count as plain text. It fetches a raw text file from a GitHub gist using the Fetch API, then parses it with `d3.csvParse`. The parsed data’s `length` and `columns` properties are used to compute the summary, which is rendered inside a `<pre>` element. The visualization relies on D3 v5 and highlights the distinction between raw text and structured data parsing.

AI-generated description

Parses fetched text with d3

Episode 15

MIT Licensed

Similar vizzes