Fork of Hello VizHub
✓ Published0🌍 Public
This example demonstrates a minimal D3.js setup that displays the text "Hello VizHub!" in the center of the page using the `select` API to set the text content of a `<div>` element. It imports the `select` function from the `d3` module via UNPKG, along with a local ES6 module that exports the message string. The page loads D3 v5 from a CDN and uses a separate stylesheet to center and enlarge the text. The code also logs the bundle size, row count, and column count from an unspecified data source to the browser console.
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