ICE-5
✓ Published0🌍 Public
This example displays an SVG image of a map, overlaid on a green background with a heading, while also presenting dataset statistics. It loads a CSV file from a GitHub gist using D3’s `d3.csv` method, then calculates and reports the file size in kilobytes, the number of rows, and the number of columns. The page structure is defined in HTML with the image sourced from a raw GitHub URL, and styling is handled by an external CSS file. The code uses D3 v7 loaded via UNPKG to parse the CSV and update the DOM.
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