Skip to main content
100%

ASS2_2

✓ Published0🌍 Public
Ssanjanadadi19@gmail.com
Last edited Apr 12, 2024
Created on Apr 12, 2024
Forked from Activity-6

This example demonstrates how to load D3 via a CDN and use ES6 modules to display a simple text message. It imports the `select` function from D3 to target a DOM element by ID and sets its content using a string exported from a local module. The page renders the message "Hello VizHub!" centered with a large font size via CSS. The code also includes a constant and a regular expression to show additional JavaScript syntax.

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