Skip to main content
100%

activity7_task2

✓ Published0🌍 Public
AArungopal Andalam
Last edited Apr 15, 2024
Created on Apr 15, 2024

This example displays the text “Hello VizHub!” centered on a plain page, demonstrating the basic workflow of a VizHub project. It loads D3.js from a CDN and uses the `select` function to target a div element by ID, setting its text content. The project also shows how to import local ES6 modules, with the displayed message defined in a separate `myMessage.js` file. Styling is handled by a linked `styles.css` file, which centers the text and enlarges its font.

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