🌍 Public
Viewing a saved revision (read-only)
c9cc19017f6942c7b74ced60702a425c
Loading and parsing CSV Data
This example demonstrates how to fetch and display raw CSV data in the browser console using D3 v5 and the Fetch API. It retrieves a CSS named colors dataset from a GitHub gist URL, then converts the response to text. The code uses async/await syntax within a `fetchText` function, though the parsed data is not visualized. The page also displays a hello message using D3's `select` to set text content of a div.
AI-generated descriptiona program to parse csv data