Skip to main content
100%

Untitled

✓ Published0🌍 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.
MIT Licensed

Similar vizzes