Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

activity 6_Task 1

Public visualization

Viewing a saved revision (read-only)

b0705c5aa4a94650a1b1b28c58e9fc70

activity 6_Task 1

0 stars1🌍 Public
Vvemurisuchitha@gmail.com
Last edited Apr 12, 2024
Created on Apr 12, 2024
Forked from Hello VizHub

This example demonstrates a minimal VizHub project structure, showing how to load D3 via UNPKG and use ES6 module imports for local code. The page renders the text “Hello VizHub!” centered on the screen using D3’s `select` method to set the text content of a `div` element. The code also defines a regular expression and a numeric constant, though these are not used in the display. D3 v5 is loaded from a CDN, with styling applied via external CSS.

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.