Skip to main content
100%

Fork of Hello VizHub

✓ Published1🌍 Public
CCreighton Chingarande
Last edited Nov 2, 2023
Created on Nov 2, 2023
Forked from Hello VizHub

This example demonstrates how VizHub supports modular ES6 code and external libraries in a minimal D3.js visualization. It renders a single text message centered on the page using the `select` function from D3 v5, which is loaded via UNPKG in the HTML file. The message string is imported from a local ES6 module (`myMessage.js`), while styling comes from a linked CSS file. The code also includes unused variables and a regular expression, showcasing basic JavaScript syntax within the framework.

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.

Test Heading

MIT Licensed

Similar vizzes