Loading Data
✓ Published0🌍 Public
This example demonstrates how to load and inspect a CSV dataset in a web page. It fetches a remote CSV file containing CSS named colors using `d3.csv` with a URL, then displays the file size in kilobytes, the number of rows, and the number of columns in a `<pre>` element. The code also includes commented-out alternatives using the Fetch API and `d3.csvParse` to show different parsing approaches. The visualization is minimal, presenting only textual metadata about the data rather than a graphical chart.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed