🌍 Public
Viewing a saved revision (read-only)
9bae50c6a50d4f1994e9424c354264f0
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.