🌍 Public
Viewing a saved revision (read-only)
94a26c8696164448acc9da919a230be3
Carregando dados com React e D3
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.