Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity-6(Task4)

Public visualization

Activity-6(Task4)

0 stars0🌍 Public
Vvandanakosuri@my.unt.edu
Last edited Apr 14, 2024
Created on Apr 14, 2024
Forked from Activity-6

This example demonstrates a minimal D3.js visualization that renders a static text message, “Hello VizHub!”, into a centered HTML div. It shows how to set up a VizHub project by loading D3 v5 from a CDN and importing both the `select` function from the `d3` module and a local ES6 module. The code uses `select('#message').text(message)` to update the DOM, with styling provided by CSS. It also includes a regular expression and variable declaration, though these do not affect the visual output.

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.

Comments

Sign in to join the discussion.

MIT Licensed