Skip to main content
100%

Loading Data With D3

✓ Published0🌍 Public
GGuus Lammers
Last edited Feb 28, 2022
Created on Feb 28, 2022

This example demonstrates how to load and summarize CSV data using D3 v5 within a React framework. It fetches a dataset of CSS named colors from a GitHub gist and reports its size, row count, and column count in a large HTML `<pre>` element. The code uses `d3.csv` to parse the remote CSV file, leveraging Promise-based loading, and `d3.csvFormat` to compute the data’s byte size. The interface remains static, displaying only text statistics without any visual charts or interaction.

AI-generated description
MIT Licensed

Similar vizzes