Skip to main content
100%

activity 6_Task 1

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

This example demonstrates how VizHub supports ES6 modules and D3.js integration through a minimal loading sequence. The page uses `import { select } from 'd3'` to manipulate the DOM, setting the text of a `#message` div to "Hello VizHub!" via a local module export. It loads D3 v5 from UNPKG via a CDN script tag in `index.html`, alongside a custom `styles.css` that centers and scales the message text. The code also includes a regular expression and unused variables, but the primary visual output is the large, centered greeting rendered by D3.

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