Skip to main content
100%

D3 * React

✓ Published0🌍 Public
Ddvinubius
Last edited May 16, 2021
Created on May 16, 2021
Forked from D3 Starter

This example demonstrates a minimal data inspection workflow: it loads a CSV file about child wellbeing from a remote URL, computes its size in kilobytes, row and column counts, and renders the entire dataset as formatted text in a large monospaced block. The D3 v6 API (`d3.csv`, `d3.csvFormat`) handles fetching and serializing the data. React manages the UI state via `useState` and `useEffect`, updating a `<pre>` element once the asynchronous `getData` function resolves. The visualization is purely textual, providing a raw look at the data structure without any charts or graphics.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes