🌍 Public
Viewing a saved revision (read-only)
621903fd584c42f39595a98048b1d1f9
Fork of Hello VizHub
This example displays a simple text message within a web page. It creates a `<div>` element with the id "message" and uses the d3 selection API to set its text content. The code imports the `select` function from D3 and a custom message from a local module. The D3 function `// d3.v6` is used to select the element and assign the imported message string using the `.text()` method. The page also includes a linked stylesheet and loads D3 from a CDN.
AI-generated description