Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Hello VizHub

Public visualization

Viewing a saved revision (read-only)

425bbee25bf14d47a8900117112a8c0b

Hello VizHub

0 stars0🌍 Public
AAlejandro Perez
Last edited Sep 14, 2019
Created on Sep 14, 2019
Forked from Hello VizHub

This example demonstrates how to combine D3.js v5 and vanilla JavaScript to display text messages on an HTML page. It uses `d3.select` to set the text content of a specific div element, while a separate message is inserted into a pre element using `document.getElementById` and `textContent`. The visualization showcases VizHub’s support for ES6 modules and external imports, as seen in the `myMessage.js` file, and applies a custom Ubuntu font and dark blue background from the linked stylesheet.

AI-generated description

An example showing the capabilities of VizHub.