Skip to main content
100%

parse data with d3

✓ Published0🌍 Public
RRajaeKrib
Last edited Aug 15, 2021
Created on Aug 15, 2021

This example demonstrates how to parse a CSV file with D3, displaying the dataset’s size in kilobytes, row count, and column count on a styled webpage. It loads monthly death records from a GitHub-hosted CSV URL using `d3.csv()`, then formats the parsed data with `d3.csvFormat()` to calculate its byte length. The results are rendered as large text inside a `<pre>` element. The visualization uses D3 v7 within a minimal HTML page, showing the core data-loading and metadata-summarizing workflow without any charting or graphical output.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes