Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Untitled

Public visualization

Untitled

0 stars0๐ŸŒ Public
Gguinessjulie
Last edited Oct 30, 2020
Created on Oct 30, 2020
Forked from Hello VizHub

This example demonstrates how to integrate D3.js with ES6 modules in VizHub, rendering a static message with a large, centered font. The code imports the `select` function from D3 via UNPKG and a custom `message` string from a local `myMessage.js` module. It uses `select('#message').text(message)` to update the DOM, with styling controlled by a CSS file that sets the text alignment, font size, and appearance. The visualization shows a simple text-based output without any data or interactive behavior.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.

Comments

Sign in to join the discussion.

MIT Licensed