Skip to main content
100%

Activity7_Task1

✓ Published0🌍 Public
Ssunny.musku2631@gmail.com
Last edited Nov 5, 2024
Created on Nov 5, 2024
Forked from Hello VizHub

This example demonstrates how to integrate D3.js into a VizHub project. It uses D3’s `select` API to locate an HTML element by ID and set its text content, showcasing basic DOM manipulation. The page displays a large, centered message that reads "Hello VizHub!" via the imported `message` constant from a local ES6 module. The code also includes unused variables and a regular expression, but these are not utilized. The visualization loads D3 v5 from a CDN and uses standard CSS for styling.

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