🌍 Public
Viewing a saved revision (read-only)
d479d9b01cec4243adde1256d1a8134a
Fork of React & D3 Starter
This example displays a simple summary of a dataset loaded from a CSV file, showing the file size in kilobytes, the number of rows, and the number of columns. It uses `d3.text` to fetch the remote CSV and `d3.csvParse` to parse it, while the results are written directly into HTML paragraphs. The page calculates the file size from the raw text length and accesses the parsed data's `length` and `columns` properties. It combines static HTML/CSS styling with the D3.js library for data ingestion and basic statistics.
AI-generated description