Fork of Hello VizHub
✓ Published0🌍 Public
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 descriptionMIT Licensed