Hello VizHub
✓ Published0🌍 Public
This example shows a simple text rendering that greets viewers with “Lesson 1” on a dark blue background. It uses D3 v5’s `select` API to target a `div` with the id `message` and set its text content. The text is styled via CSS, importing the Ubuntu font from Google Fonts and setting a large font size. The code demonstrates ES6 module imports, with the message string stored in a separate `myMessage.js` file, and includes a local `bundle.js` script for execution.
AI-generated descriptionTutorial #1 showing the capabilities of VizHub.
MIT Licensed