Skip to main content
100%

Activity 7 Question 1

✓ Published0🌍 Public
Hharshabandi3060@gmail.com
Last edited Nov 8, 2024
Created on Nov 8, 2024
Forked from Hello VizHub

This example demonstrates how to display a static text message using D3.js and ES6 modules. The code imports the `select` function from D3 and sets the text content of a `div` element to “Hello VizHub!”. It also imports a local module to supply the message string and defines a regular expression and a numeric constant. The HTML loads D3 from a CDN, includes a CSS file for styling, and bundles the JavaScript within the page structure.

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