Skip to main content
100%

Question-2 Task 2

✓ Published0🌍 Public
Ddaneeshchowdary18@gmail.com
Last edited Apr 5, 2024
Created on Apr 5, 2024
Forked from Hello VizHub

This example demonstrates a minimal VizHub setup that loads D3 via UNPKG and displays a centered “Hello VizHub!” message. It shows how to import D3 API functions like `select` from the `d3` module, and how to import local ES6 modules from separate files. The code uses `select('#message').text(message)` to set the text content, and also includes a simple regex pattern and a constant variable. The page styling is defined in an external CSS file, with the message rendered at a large font size.

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