Skip to main content
100%

Activity6_Question2

✓ Published0🌍 Public
Aayeshamanzoor111798@gmail.com
Last edited Oct 23, 2024
Created on Oct 23, 2024

This example demonstrates the fundamental workflow of a VizHub project, loading D3 v5 through a CDN and importing both D3 functions and local ES6 modules. It shows how D3’s `select` function targets a DOM element to set text content, while a separate local module supplies the displayed message. The code also includes a CSS rule for centering and scaling the text, and initializes a numeric constant and a regular expression. The page renders a simple, large-format greeting.

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