Skip to main content
100%

Task 8

✓ Published1🌍 Public
Jjaswanthichowdarykalapala@my.unt.edu
Last edited Apr 9, 2024
Created on Apr 9, 2024
Forked from Hello VizHub

This example demonstrates VizHub’s ability to load D3 via UNPKG and use ES6 modules for local code organization. It imports the `select` function from D3 and a custom `message` constant from a local `myMessage.js` module. The code uses `select('#message').text(message)` to set the text of a centered `<div>` styled with CSS. The visualization simply displays “Hello VizHub!” in large type, with no data or animation involved.

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