Carregando dados com React e D3
✓ Published0🌍 Public
This example demonstrates the amount of data contained in a CSV file by displaying its size in kilobytes, line count, and column count. It loads data from a remote URL hosted on GitHub Gists using the `d3.csv` and `d3.csvFormat` APIs, while React 18 manages the asynchronous state. The component initially shows a loading message before rendering the computed statistics, with a deliberate delay between fetches to avoid an infinite loop. The presentation uses a large monospace `<pre>` element with minimal styling.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed