🌍 Public
Viewing a saved revision (read-only)
196aa0315c6b4bdb86c84ee961273c3c
Fork of HTML Starter
This visualization displays a summary of a CSV file, showing the file size in kilobytes, the number of rows, and the number of columns in a clean card layout. It fetches the `shapes_data.csv` file from a GitHub Gist using the `fetch` API, then uses `d3.csvParse` to parse the text into a tabular data structure. The code accesses the parsed data’s `length` property for row count and the `columns` array for column count, displaying these values as plain text. The example demonstrates a straightforward use of D3.js v7 for CSV parsing and basic DOM manipulation without any chart rendering.
AI-generated description