Skip to main content
100%

Activity_6 Task 1

✓ Published0🌍 Public
Rraaghaveramireddy@my.unt.edu
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Hello VizHub

This example demonstrates how VizHub supports ES6 modules and D3.js imports to render a simple text message on a webpage. It uses `d3.select` to target a `div` element with the ID `message` and sets its content from an imported local module. The code showcases importing both the `select` function from the D3 library via UNPKG and a custom `message` value from `myMessage.js`. A fixed number and regular expression are also declared but not used in the visualization.

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