Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task 3.1

Public visualization

Viewing a saved revision (read-only)

3079d4da6e0b493cbc30a3636b8c48cf

Activity6_Task 3.1

0 stars1🌍 Public
Vvankayalapatimounika2000@gmail.com
Last edited Apr 14, 2024
Created on Apr 14, 2024

This example demonstrates how to build a minimal VizHub project that renders a static text message using D3.js. The visualization displays the phrase “Hello VizHub!” centered on the page with large typography. The code loads D3 v5 via a CDN, imports the `select` API from the d3 module, and uses local ES6 modules to define the message string. The rendering approach relies on CSS for styling and D3’s selection method to set the text content of an HTML element.

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.