Skip to main content
100%

activity8_task1

✓ Published0🌍 Public
Aanusharamana0@gmail.com
Last edited Apr 14, 2024
Created on Apr 14, 2024
Forked from Hello VizHub

This example demonstrates how D3.js can integrate with modern JavaScript modules to create a basic interactive web page. It loads D3 v5 from a CDN and uses ES6 imports to bring in both the `select` function from D3 and a custom message from a local module. The code sets the text of a div element to display a greeting, and also defines a numeric constant and a regular expression to showcase additional JavaScript syntax. The example serves as a minimal template for combining D3 with modular code 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