Skip to main content
100%

Activity_task1

✓ Published0🌍 Public
1188r1a0559@gmail.com
Last edited Apr 4, 2024
Created on Apr 4, 2024
Forked from tutorial1

This example demonstrates a minimal "Hello VizHub!" message display using the D3.js library. It renders static text centered on the page, leveraging D3’s `select` function to target the HTML div with ID `message` and set its content. The text is sourced from an imported local ES6 module, `myMessage.js`, which exports the string. Styling is handled via a separate CSS file, and the code also includes a regular expression pattern and a numeric variable as part of the demonstration.

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