Skip to main content
100%

Activity6_Task3

✓ Published0🌍 Public
Vvamsikrishnakanchukommala@my.unt.edu
Last edited Apr 11, 2024
Created on Apr 11, 2024
Forked from Hello VizHub

This example demonstrates a minimalist rendering of the text “Hello VizHub!” in the center of the page using D3.js. It loads D3 v5 from UNPKG and uses the `select` function to target a `div` element with the ID `message`, setting its text content from a local ES6 module. The code also defines an unused constant and a regular expression, showcasing basic JavaScript syntax alongside D3’s selection API. The page styling is handled by an external CSS file that centers the text with a large font size.

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