Skip to main content
100%

activity 6_Task 1

✓ Published0🌍 Public
Mmeghna.reddy700@gmail.com
Last edited Apr 4, 2024
Created on Apr 4, 2024
Forked from Activity 6

This example demonstrates basic VizHub functionality by displaying the message "Hello VizHub!" in the center of the page. The visualization uses `d3.select` from the D3 v5 library to target the `#message` div and set its text content. The code imports both a local ES6 module (`./myMessage`) and D3's API functions, showcasing how to combine external libraries with modular JavaScript. The page's styling is handled via a separate CSS file, and the example includes a simple regular expression and number assignment within the main script.

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