Skip to main content
100%

Activity6_task3

✓ Published0🌍 Public
RRJVENKATESH789@GMAIL.COM
Last edited Apr 10, 2024
Created on Apr 10, 2024
Forked from Hello VizHub

This example demonstrates how to create a simple static web page using D3.js and ES6 modules. It shows a single HTML element displaying the text “Hello VizHub!” centered on the page with large font styling. The code imports the `select` function from the D3 library via ES6 `import` syntax and uses it to update the text content of a `div` element. It also imports a local module `myMessage.js` to provide the message string, while additional JavaScript includes a regular expression and a numeric variable. The page loads D3 from a CDN and uses separate CSS and JavaScript files.

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