🌍 Public
Viewing a saved revision (read-only)
81e7ae3b9e6b4e3bb9e7fbde9b60174b
tutorial 1
This example displays the text “Hello VizHub!” centered in the browser window using D3.js. The code imports the `select` function from D3 and applies it to a `<div>` element with the ID `message`. A separate ES6 module, `myMessage.js`, exports the string, which is then set as the element’s text content. Styling is handled via an external CSS file.
AI-generated description