🌍 Public
Viewing a saved revision (read-only)
7f6b97101dbc44c794dc4d8393b771b6
Hello VizHub
This example demonstrates the minimal setup required to render text in a browser using D3.js within the VizHub environment. It selects a `<div>` element by its ID and sets its text content to a static string, which is imported from a separate ES6 module. The page applies global styling through an external stylesheet, using the Ubuntu font and a dark background color. The code relies on D3 v5’s `select` method and imports the message from `message.js`, all orchestrated through an `index.html` that loads the bundled scripts.
AI-generated descriptionAn example showing the capabilities of VizHub.