Skip to main content
100%

Activity 6 Task 4

✓ Published1🌍 Public
Ssreekarthanda@gmail.com
Last edited Jun 14, 2023
Created on Jun 14, 2023
Forked from Hello VizHub

This example displays the text "Hello VizHub!" in a large, centered message on a webpage. It demonstrates a fundamental D3.js workflow by using the `select` function to target the `#message` div and set its text content. The text itself is defined in a separate local ES6 module, `myMessage.js`, and imported into the main `index.js` file. The page's styling is handled through a linked CSS file, utilizing the `#message` selector to control font size and alignment.

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