Skip to main content
100%

Activity 6 Task3

✓ Published0🌍 Public
Jjaideeptripurani12@gmail.com
Last edited Apr 15, 2024
Created on Apr 15, 2024
Forked from task-2

This example demonstrates how to load D3 via UNPKG and use ES6 module imports to structure a simple VizHub project. It uses D3’s `select` function to set the text content of a div element, pulling a string from a local module. The page displays a large, centered “Hello VizHub!” message styled with CSS, with the D3 library imported directly and a local `myMessage.js` file providing the displayed text. The code also includes an unused numeric constant and regex, but no data visualization is shown.

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