🌍 Public
Viewing a saved revision (read-only)
4a9e7dc7cc154f1f85e829b2e6610e09
Hello VizHub
This example demonstrates the simplest possible D3.js visualization: a single text message displayed on a styled webpage. It uses D3.js v5’s `select` API to target a `div` element by its ID and set its text content to a string exported from an ES6 module. The page’s styling, including a dark background, centered layout, and large Ubuntu font, is defined in CSS. The code also showcases module imports and the basic structure of a VizHub project, with HTML, JavaScript, and stylesheet files linked together.
AI-generated descriptionAn example showing the capabilities of VizHub.