Fork of ice5
✓ Published0🌍 Public
This example demonstrates how to load and parse CSV data using D3.js, fetching a Forbes 2025 billionaires dataset from a GitHub Gist and displaying the row and column count in an HTML `<pre>` element. The page uses D3’s `d3.csv` API to asynchronously retrieve and parse the remote file, then updates the DOM via `document.querySelector` to show the dataset’s dimensions. The visualization also includes decorative inline SVG icons styled with CSS, while the overall layout is styled with headings and light blue backgrounds. The code runs entirely in a single HTML file with D3 loaded via UNPKG.
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