Skip to main content
100%

Activity-6

✓ Published2🌍 Public
KKarnam Abinay Goud
Last edited Oct 18, 2024
Created on Oct 18, 2024
Forked from Hello VizHub

This example demonstrates a minimal D3.js setup within VizHub, rendering the text "Hello VizHub!" in a centered, oversized style. It shows how to load D3 v5 via UNPKG and use ES6 module imports, both for the `select` function from D3 and a custom local module exporting the message string. The code also includes a declared constant and a regular expression, though they are unused in the visualization. The final output is a single styled text element in the DOM, driven by the imported message.

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