🌍 Public
Viewing a saved revision (read-only)
3d718a4966e44b95b389fac31f4bfaf4
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