🌍 Public
Viewing a saved revision (read-only)
a65adb05f2444c2e9045b89a8aef9269
Loading and Parsing CSV Data
This example displays the dimensions of a CSV dataset directly in the browser as large, simple text. The program fetches a remote CSV file from a GitHub Gist and uses D3 v7’s `d3.csv` method to asynchronously load and parse the data, then reports the total number of rows and columns. The parsed array is also logged to the console for inspection, while the visible output updates a `<pre>` element’s content with the count.
AI-generated descriptionA program that loads and parses CSV data