Skip to main content
100%

Activity6_Task1

✓ Published0🌍 Public
LLakshmiDeepikaPagadala@my.unt.edu
Last edited Apr 10, 2024
Created on Apr 10, 2024

This example demonstrates a minimal D3.js setup in VizHub, displaying a centered text message ("Hello VizHub!") styled with large font size and aligned via CSS. It shows how to load D3 v5 through a CDN and use the `select` API to target an HTML element and set its text content. The code also highlights modern JavaScript features by importing a local ES6 module (`myMessage.js`) and defining a regular expression variable. The rendering approach relies on plain HTML DOM manipulation rather than SVG or canvas drawing.

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