Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of act_6_3.1task

Public visualization

Viewing a saved revision (read-only)

d8fc6add4f6d4170a69fa63887871713

Fork of act_6_3.1task

0 stars0🌍 Public
Hhlmn4936@gmail.com
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from act_6_3task

This example demonstrates a minimal D3.js setup within VizHub, displaying the text "Hello VizHub!" centered in a full-page message. It shows how to load D3 v5 from a CDN via UNPKG and use ES6 module imports, including a local module that exports the message string. The code explicitly uses the `select` API from D3 to set the text content of an HTML div element, while a separate CSS file styles the text. The visualization is static, with no data processing or interactive behavior beyond the initial render.

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.