ICE-5
✓ Published0🌍 Public
This example loads a CSV file containing cause-of-death data from a GitHub gist and displays basic file statistics as plain text in a preformatted block. Using D3 v5’s `d3.csv` and `d3.csvFormat`, the code calculates the estimated data size in kilobytes, then reports the number of rows and columns in the dataset. The rendered output is styled with black background and white text, while the page structure relies on a simple HTML script tag linking D3 from a CDN.
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