Skip to main content
100%

Activity6 Task_1

✓ Published0🌍 Public
Yyellahemalatha@gmail.com
Last edited Mar 31, 2024
Created on Mar 31, 2024
Forked from Activity 6

This example demonstrates a simple text display that says “Hello VizHub!” using D3.js to select an HTML element and set its text content. The visualization loads D3 version 5.16.0 from the UNPKG CDN and imports the `select` function from the D3 library. It also imports a local ES6 module to supply the message string. The text is centered and styled with a large font size via the `styles.css` file. The code includes an unused variable and a regular expression, but those do not affect the displayed output.

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