Skip to main content
100%

activity 6_Task 1

✓ Published0🌍 Public
CChaitanya Ratan Sree
Last edited Oct 20, 2024
Created on Oct 20, 2024
Forked from Hello VizHub

This example demonstrates a minimal Hello World message rendered with D3.js, using the `select()` API to target a DOM element and set its text content. The visualization loads D3 v5 from UNPKG and imports the `select` function directly from the library, while also importing a local ES6 module to supply the message string. The page displays the text “Hello VizHub!” centered via CSS, with the JavaScript combining a template literal and a regex pattern that are defined but not used in the output. It serves as a basic template for structuring D3 projects with local modules and external dependencies.

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