Skip to main content
100%

Activity6

✓ Published1🌍 Public
Nnumitha
Last edited Apr 4, 2024
Created on Apr 4, 2024
Forked from Hello VizHub

This example demonstrates a minimal D3.js setup within VizHub, displaying the text “Hello VizHub!” centered in a large font. It shows how to load D3 via CDN, import specific functions like `select` using ES6 modules, and import a local module for the message string. The code uses `d3.select` to set the text content of the `#message` div, with styling applied via CSS. It serves as a template for combining external libraries and local modules in a web-based visualization project.

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