Skip to main content
100%

Activity6_task 2

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

This example demonstrates loading D3 from a CDN and using ES6 module imports to display a centered message. The code uses `select` from D3 to target a `<div>` and set its text from a separate local module, `myMessage.js`. It also defines a numeric constant and a regular expression, though neither is applied to visual output. The page’s styling, including large font size and centered text, comes from an external CSS file. The example primarily showcases VizHub’s support for modular JavaScript and external library integration.

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