Skip to main content
100%

Activity 6

✓ Published0🌍 Public
Ssaikrishnabussa
Last edited Jun 28, 2023
Created on Jun 28, 2023
Forked from Hello VizHub

This example demonstrates how to load D3 via UNPKG and use ES6 module imports in a Vue framework environment. The visualization displays a large background image rendered as an SVG pattern using WebGL, alongside a text message set through D3’s `select` function. The code imports `select` from `d3` and a local `message` module, then updates the DOM element with the ID `message`. Both SVG and WebGL rendering approaches are visible, with the image embedded as a base64-encoded JPEG.

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