Skip to main content
100%

task 9

✓ Published0🌍 Public
Ppranayrajana.97@gmail.com
Last edited Apr 28, 2024
Created on Apr 28, 2024
Forked from Hello VizHub

This example demonstrates a minimal D3.js and ES6 module setup within VizHub. It displays the text "Hello VizHub!" centered on the page using the `select` function from D3 to target a DOM element. The code imports a local message from `myMessage.js` and assigns it to the element’s content, while also declaring unused variables and a regular expression. Styling is handled by `styles.css` with a large font size and centered alignment. The project loads D3 via UNPKG and showcases basic module imports and DOM manipulation.

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