Skip to main content
100%

Activity6_Task2

✓ Published0🌍 Public
Ssaisnehapalle@my.unt.edu
Last edited Apr 4, 2024
Created on Apr 4, 2024
Forked from Hello VizHub

This example demonstrates how VizHub combines ES6 modules with D3.js to render a simple text message inside an HTML page. The code uses `import { select } from 'd3'` to manipulate the DOM and sets the content of a `#message` div to the string "Hello VizHub!". It also imports a local module, `myMessage.js`, to supply that text, and includes a CSS file for centered, large-font styling. The visualization is entirely static, with no data source or dynamic rendering 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