🌍 Public
Loading Data with React & D3
This example demonstrates how to load and summarize a CSV dataset of CSS named colors using React and D3. It uses React state to store the fetched data and D3’s `csv` and `csvFormat` utilities to parse and measure the file. The rendered output displays the dataset’s size in kilobytes, row count, and column count. The page relies on a custom `message` module to format the summary text.
AI-generated descriptionA program that loads in some data about CSS named colors using D3 utilities, and uses React state to keep track of the data
MIT Licensed
Comments
Sign in to join the discussion.