Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6

Public visualization

Viewing a saved revision (read-only)

fad950384b1446b9875d87ded45087ee

Activity 6

0 stars0🌍 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.