Skip to main content
100%

Activity 7

✓ Published1🌍 Public
Ggolisanthoshi2000@gmail.com
Last edited Nov 7, 2024
Created on Nov 7, 2024

This example demonstrates how VizHub supports modular JavaScript development and D3.js integration. The code imports the `select` function from D3 and a custom `message` from a local ES6 module, then uses `select('#message').text()` to display the text in the page’s div element. It shows basic module imports, a regular expression, and CSS styling applied via an external stylesheet. D3 is loaded from UNPKG, while local resources include the module, HTML, and CSS files.

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