Skip to main content
100%

Fork of ice5

✓ Published0🌍 Public
Vvaishnavgck@gmail.com
Last edited Mar 18, 2025
Created on Mar 18, 2025
Forked from ice5

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 description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes