Untitled
✓ Published0🌍 Public
This example loads a CSV file from a GitHub Gist, reports its size in kilobytes, and displays the number of rows and columns in the parsed data. The page presents this information in a centered, light-blue text block above an inline SVG image. It uses the D3 v5 library’s `d3.csv` and `d3.csvFormat` functions to fetch and measure the dataset, and it manipulates the DOM via `document.getElementById` to update the display. Static HTML and a separate SVG file provide the visual layout.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed