🌍 Public
Viewing a saved revision (read-only)
9867f454e18c47e4ad4e841a5f856692
ice5
This example displays a summary of the contents of a CSV file, showing the file size, row count, and column count on a styled webpage with a blue gradient background. The page uses a D3.js v7 `d3.csv` promise to load and parse the data, while the Fetch API's `response.blob()` method is used to estimate file size. The retrieved statistics are then inserted into the DOM via `innerHTML` within a styled summary box that scales on hover.
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.