🌍 Public
Viewing a saved revision (read-only)
997934235e0e4f97b88f7536c17aa107
Loading CSV
This example demonstrates how to load a CSV file and display a summary of its contents. It shows the file size in kilobytes, the number of rows, and the number of columns. The code uses D3 version 7’s `d3.csv` function to fetch and parse the data from a GitHub gist, then formats the message with `textContent`. It also includes an alternative async/await approach using `fetch` and `d3.csvParse`.
AI-generated descriptionCargando Archivo .csv