Skip to main content
100%

Activity6_Task2

✓ Published1🌍 Public
Ggreeshmareddy135@gmail.com
Last edited Apr 4, 2024
Created on Apr 4, 2024
Forked from Hello VizHub

This example demonstrates a minimal D3.js setup within VizHub, showing how to load D3 via UNPKG and use ES6 module imports to combine local code with the library. It renders a single text message, “Hello VizHub!”, into an HTML div using `select` from D3, while a separate local module exports the message string. The page also includes a CSS rule for centering large text, and the JavaScript defines a regex and a constant that are not used in the visualization. The rendering approach is straightforward DOM manipulation rather than data binding.

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